LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::PrintFunctionPass Class Reference

Pass for printing a Function as LLVM's text IR assembly. More...

#include "llvm/IR/IRPrintingPasses.h"

Inheritance diagram for llvm::PrintFunctionPass:
Inheritance graph
Collaboration diagram for llvm::PrintFunctionPass:
Collaboration graph

Public Member Functions

 PrintFunctionPass ()
 PrintFunctionPass (raw_ostream &OS, const std::string &Banner="")
PreservedAnalyses run (Function &F, AnalysisManager< Function > &)

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. More...

Detailed 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.

Definition at line 70 of file IRPrintingPasses.h.

Constructor & Destructor Documentation

◆ PrintFunctionPass() [1/2]

PrintFunctionPass::PrintFunctionPass ( )

Definition at line 52 of file IRPrintingPasses.cpp.

◆ PrintFunctionPass() [2/2]

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

Definition at line 53 of file IRPrintingPasses.cpp.

Member Function Documentation

◆ isRequired()

static bool llvm::PrintFunctionPass::isRequired ( )

Definition at line 79 of file IRPrintingPasses.h.

◆ run()

PreservedAnalyses PrintFunctionPass::run ( Function F,
AnalysisManager< Function > &   

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