#include "llvm/IRPrinter/IRPrintingPasses.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/ModuleSummaryAnalysis.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PrintPasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
extern cl::opt<bool> WriteNewDbgInfoFormat;
PrintModulePass::PrintModulePass() : … { … }
PrintModulePass::PrintModulePass(raw_ostream &OS, const std::string &Banner,
bool ShouldPreserveUseListOrder,
bool EmitSummaryIndex)
: … { … }
PreservedAnalyses PrintModulePass::run(Module &M, ModuleAnalysisManager &AM) { … }
PrintFunctionPass::PrintFunctionPass() : … { … }
PrintFunctionPass::PrintFunctionPass(raw_ostream &OS, const std::string &Banner)
: … { … }
PreservedAnalyses PrintFunctionPass::run(Function &F,
FunctionAnalysisManager &) { … }