LLVM
8.0.1
|
Pass for printing a Function as LLVM's text IR assembly. More...
#include "llvm/IR/IRPrintingPasses.h"
Public Member Functions | |
PrintFunctionPass () | |
PrintFunctionPass (raw_ostream &OS, const std::string &Banner="") | |
PreservedAnalyses | run (Function &F, AnalysisManager< Function > &) |
Static Public Member Functions | |
static StringRef | name () |
Pass for printing a Function as LLVM's text IR assembly.
Note: This pass is for use with the new pass manager. Use the create...Pass functions above to create passes for use with the legacy pass manager.
Definition at line 100 of file IRPrintingPasses.h.
PrintFunctionPass::PrintFunctionPass | ( | ) |
Definition at line 42 of file IRPrintingPasses.cpp.
PrintFunctionPass::PrintFunctionPass | ( | raw_ostream & | OS, |
const std::string & | Banner = "" |
||
) |
Definition at line 43 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 110 of file IRPrintingPasses.h.
PreservedAnalyses PrintFunctionPass::run | ( | Function & | F, |
AnalysisManager< Function > & | |||
) |
Definition at line 46 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), llvm::dbgs(), F(), llvm::forcePrintModuleIR(), llvm::Value::getName(), llvm::GlobalValue::getParent(), INITIALIZE_PASS(), llvm::isFunctionInPrintList(), P, llvm::PrintModulePass::run(), run(), runOnBasicBlock(), runOnFunction(), and llvm::AnalysisUsage::setPreservesAll().
Referenced by run().