class PrintFunctionPass

Declaration

class PrintFunctionPass : public PassInfoMixin { /* 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:75

Inherits from: PassInfoMixin

Member Variables

private llvm::raw_ostream& OS
private std::string Banner

Method Overview

Methods

PrintFunctionPass()

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

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

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

Parameters

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

static bool isRequired()

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

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

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

Parameters

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