LLVM  10.0.0svn
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 99 of file IRPrintingPasses.h.

Constructor & Destructor Documentation

◆ PrintFunctionPass() [1/2]

PrintFunctionPass::PrintFunctionPass ( )

Definition at line 49 of file IRPrintingPasses.cpp.

◆ PrintFunctionPass() [2/2]

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

Definition at line 50 of file IRPrintingPasses.cpp.

Member Function Documentation

◆ name()

static StringRef llvm::PrintFunctionPass::name ( )

Definition at line 109 of file IRPrintingPasses.h.

◆ run()

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

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