class PrintFunctionPass

Declaration

class PrintFunctionPass { /* full declaration omitted */ };

Description

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.

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

Method Overview

  • public PrintFunctionPass()
  • public PrintFunctionPass(llvm::raw_ostream & OS, const std::string & Banner = "")
  • public static llvm::StringRef name()
  • public llvm::PreservedAnalyses run(llvm::Function & F, AnalysisManager<llvm::Function> &)

Methods

PrintFunctionPass()

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

PrintFunctionPass(llvm::raw_ostream& OS,
                  const std::string& Banner = "")

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

Parameters

llvm::raw_ostream& OS
const std::string& Banner = ""

static llvm::StringRef name()

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

llvm::PreservedAnalyses run(
    llvm::Function& F,
    AnalysisManager<llvm::Function>&)

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

Parameters

llvm::Function& F
AnalysisManager<llvm::Function>&