class PrintModulePass

Declaration

class PrintModulePass { /* 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:74

Method Overview

  • public PrintModulePass()
  • public PrintModulePass(llvm::raw_ostream & OS, const std::string & Banner = "", bool ShouldPreserveUseListOrder = false)
  • public static llvm::StringRef name()
  • public llvm::PreservedAnalyses run(llvm::Module & M, AnalysisManager<llvm::Module> &)

Methods

PrintModulePass()

Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:80

PrintModulePass(
    llvm::raw_ostream& OS,
    const std::string& Banner = "",
    bool ShouldPreserveUseListOrder = false)

Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:81

Parameters

llvm::raw_ostream& OS
const std::string& Banner = ""
bool ShouldPreserveUseListOrder = false

static llvm::StringRef name()

Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:86

llvm::PreservedAnalyses run(
    llvm::Module& M,
    AnalysisManager<llvm::Module>&)

Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:84

Parameters

llvm::Module& M
AnalysisManager<llvm::Module>&