LLVM 22.0.0git
|
Pass (for the new pass manager) for printing a Module as LLVM's text IR assembly. More...
#include "llvm/IRPrinter/IRPrintingPasses.h"
Public Member Functions | |
LLVM_ABI | PrintModulePass () |
LLVM_ABI | PrintModulePass (raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false, bool EmitSummaryIndex=false) |
LLVM_ABI PreservedAnalyses | run (Module &M, AnalysisManager< Module > &) |
Public Member Functions inherited from llvm::PassInfoMixin< PrintModulePass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< PrintModulePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
Pass (for the new pass manager) for printing a Module as LLVM's text IR assembly.
Definition at line 33 of file IRPrintingPasses.h.
PrintModulePass::PrintModulePass | ( | ) |
Definition at line 26 of file IRPrintingPasses.cpp.
References llvm::dbgs().
PrintModulePass::PrintModulePass | ( | raw_ostream & | OS, |
const std::string & | Banner = "", | ||
bool | ShouldPreserveUseListOrder = false, | ||
bool | EmitSummaryIndex = false ) |
Definition at line 27 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 46 of file IRPrintingPasses.h.
PreservedAnalyses PrintModulePass::run | ( | Module & | M, |
AnalysisManager< Module > & | ) |
Definition at line 34 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::isFunctionInPrintList().