LLVM 22.0.0git
llvm::PrintFunctionPass Class Reference

Pass (for the new pass manager) for printing a Function as LLVM's text IR assembly. More...

#include "llvm/IRPrinter/IRPrintingPasses.h"

Inheritance diagram for llvm::PrintFunctionPass:
[legend]

Public Member Functions

LLVM_ABI PrintFunctionPass ()
LLVM_ABI PrintFunctionPass (raw_ostream &OS, const std::string &Banner="")
LLVM_ABI PreservedAnalyses run (Function &F, AnalysisManager< Function > &)
Public Member Functions inherited from llvm::PassInfoMixin< PrintFunctionPass >
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< PrintFunctionPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Pass (for the new pass manager) for printing a Function as LLVM's text IR assembly.

Definition at line 51 of file IRPrintingPasses.h.

Constructor & Destructor Documentation

◆ PrintFunctionPass() [1/2]

PrintFunctionPass::PrintFunctionPass ( )

Definition at line 68 of file IRPrintingPasses.cpp.

References llvm::dbgs().

◆ PrintFunctionPass() [2/2]

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

Definition at line 69 of file IRPrintingPasses.cpp.

Member Function Documentation

◆ isRequired()

bool llvm::PrintFunctionPass::isRequired ( )
inlinestatic

Definition at line 60 of file IRPrintingPasses.h.

◆ run()


The documentation for this class was generated from the following files: