LLVM
16.0.0git
|
Pass for printing a Module as LLVM's text IR assembly. More...
#include "llvm/IR/IRPrintingPasses.h"
Public Member Functions | |
PrintModulePass () | |
PrintModulePass (raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false) | |
PreservedAnalyses | run (Module &M, AnalysisManager< Module > &) |
![]() | |
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 Module 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 57 of file IRPrintingPasses.h.
PrintModulePass::PrintModulePass | ( | ) |
Definition at line 25 of file IRPrintingPasses.cpp.
PrintModulePass::PrintModulePass | ( | raw_ostream & | OS, |
const std::string & | Banner = "" , |
||
bool | ShouldPreserveUseListOrder = false |
||
) |
Definition at line 26 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 68 of file IRPrintingPasses.h.
PreservedAnalyses PrintModulePass::run | ( | Module & | M, |
AnalysisManager< Module > & | |||
) |
Definition at line 31 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::isFunctionInPrintList(), and M.