//===- PassManager.cpp - LLVM Pass Infrastructure Implementation ----------===////// The LLVM Compiler Infrastructure//// This file was developed by Devang Patel and is distributed under// the University of Illinois Open Source License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements the LLVM Pass Manager infrastructure. ////===----------------------------------------------------------------------===//#include"llvm/PassManager.h"#include"llvm/Support/CommandLine.h"#include"llvm/Support/Timer.h"#include"llvm/Module.h"#include"llvm/ModuleProvider.h"#include"llvm/Support/Streams.h"#include"llvm/Support/ManagedStatic.h"#include<vector>#include<map>usingnamespacellvm;classllvm::PMDataManager;//===----------------------------------------------------------------------===//// Overview:// The Pass Manager Infrastructure manages passes. It's responsibilities are:// // o Manage optimization pass execution order// o Make required Analysis information available before pass P is run