LLVM
8.0.1
|
Pass for printing a Module as LLVM's text IR assembly. More...
#include "llvm/IR/IRPrintingPasses.h"
Public Member Functions | |
PrintModulePass () | |
PrintModulePass (raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false) | |
PreservedAnalyses | run (Module &M, AnalysisManager< Module > &) |
Static Public Member Functions | |
static StringRef | name () |
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 81 of file IRPrintingPasses.h.
PrintModulePass::PrintModulePass | ( | ) |
Definition at line 23 of file IRPrintingPasses.cpp.
PrintModulePass::PrintModulePass | ( | raw_ostream & | OS, |
const std::string & | Banner = "" , |
||
bool | ShouldPreserveUseListOrder = false |
||
) |
Definition at line 24 of file IRPrintingPasses.cpp.
|
inlinestatic |
Definition at line 93 of file IRPrintingPasses.h.
PreservedAnalyses PrintModulePass::run | ( | Module & | M, |
AnalysisManager< Module > & | |||
) |
Definition at line 29 of file IRPrintingPasses.cpp.
References llvm::PreservedAnalyses::all(), F(), llvm::Module::functions(), llvm::isFunctionInPrintList(), and llvm::Module::print().
Referenced by llvm::PrintFunctionPass::run().