class PrintModulePass
Declaration
class PrintModulePass : public PassInfoMixin { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:57
Inherits from: PassInfoMixin
Member Variables
- private llvm::raw_ostream& OS
- private std::string Banner
- private bool ShouldPreserveUseListOrder
Method Overview
- public PrintModulePass()
- public PrintModulePass(llvm::raw_ostream & OS, const std::string & Banner = "", bool ShouldPreserveUseListOrder = false)
- public static bool isRequired()
- public llvm::PreservedAnalyses run(llvm::Module & M, AnalysisManager<llvm::Module> &)
Methods
¶PrintModulePass()
PrintModulePass()
Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:63
¶PrintModulePass(
llvm::raw_ostream& OS,
const std::string& Banner = "",
bool ShouldPreserveUseListOrder = false)
PrintModulePass(
llvm::raw_ostream& OS,
const std::string& Banner = "",
bool ShouldPreserveUseListOrder = false)
Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:64
Parameters
- llvm::raw_ostream& OS
- const std::string& Banner = ""
- bool ShouldPreserveUseListOrder = false
¶static bool isRequired()
static bool isRequired()
Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:68
¶llvm::PreservedAnalyses run(
llvm::Module& M,
AnalysisManager<llvm::Module>&)
llvm::PreservedAnalyses run(
llvm::Module& M,
AnalysisManager<llvm::Module>&)
Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:67
Parameters
- llvm::Module& M
- AnalysisManager<llvm::Module>&