LLVM  8.0.1
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"

Public Member Functions

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

Static Public Member Functions

static StringRef name ()
 

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 100 of file IRPrintingPasses.h.

Constructor & Destructor Documentation

◆ PrintFunctionPass() [1/2]

PrintFunctionPass::PrintFunctionPass ( )

Definition at line 42 of file IRPrintingPasses.cpp.

◆ PrintFunctionPass() [2/2]

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

Definition at line 43 of file IRPrintingPasses.cpp.

Member Function Documentation

◆ name()

static StringRef llvm::PrintFunctionPass::name ( )
inlinestatic

Definition at line 110 of file IRPrintingPasses.h.

◆ run()

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

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