|
LLVM
10.0.0
|
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 93 of file IRPrintingPasses.h.
| PrintFunctionPass::PrintFunctionPass | ( | ) |
Definition at line 50 of file IRPrintingPasses.cpp.
| PrintFunctionPass::PrintFunctionPass | ( | raw_ostream & | OS, |
| const std::string & | Banner = "" |
||
| ) |
Definition at line 51 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 103 of file IRPrintingPasses.h.
| PreservedAnalyses PrintFunctionPass::run | ( | Function & | F, |
| AnalysisManager< Function > & | |||
| ) |
Definition at line 54 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), F(), llvm::forcePrintModuleIR(), llvm::Value::getName(), llvm::GlobalValue::getParent(), INITIALIZE_PASS(), llvm::isFunctionInPrintList(), P, llvm::PrintModulePass::run(), run(), runOnFunction(), and llvm::AnalysisUsage::setPreservesAll().
Referenced by run().
1.8.13