LLVM
15.0.0git
|
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 > &) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
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 75 of file IRPrintingPasses.h.
PrintFunctionPass::PrintFunctionPass | ( | ) |
Definition at line 52 of file IRPrintingPasses.cpp.
PrintFunctionPass::PrintFunctionPass | ( | raw_ostream & | OS, |
const std::string & | Banner = "" |
||
) |
Definition at line 53 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 84 of file IRPrintingPasses.h.
PreservedAnalyses PrintFunctionPass::run | ( | Function & | F, |
AnalysisManager< Function > & | |||
) |
Definition at line 56 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::forcePrintModuleIR(), and llvm::isFunctionInPrintList().