LLVM  11.0.0git
Public Member Functions | List of all members
llvm::PrintModulePass Class Reference

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

#include "llvm/IR/IRPrintingPasses.h"

Inheritance diagram for llvm::PrintModulePass:
Inheritance graph
Collaboration diagram for llvm::PrintModulePass:
Collaboration graph

Public Member Functions

 PrintModulePass ()
 PrintModulePass (raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false)
PreservedAnalyses run (Module &M, AnalysisManager< Module > &)

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< PrintModulePass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...

Detailed Description

Pass for printing a Module 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 67 of file IRPrintingPasses.h.

Constructor & Destructor Documentation

◆ PrintModulePass() [1/2]

PrintModulePass::PrintModulePass ( )

Definition at line 23 of file IRPrintingPasses.cpp.

◆ PrintModulePass() [2/2]

PrintModulePass::PrintModulePass ( raw_ostream OS,
const std::string &  Banner = "",
bool  ShouldPreserveUseListOrder = false 

Definition at line 24 of file IRPrintingPasses.cpp.

Member Function Documentation

◆ run()

PreservedAnalyses PrintModulePass::run ( Module M,
AnalysisManager< Module > &   

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