19 #ifndef LLVM_IR_IRPRINTINGPASSES_H
20 #define LLVM_IR_IRPRINTINGPASSES_H
31 class PreservedAnalyses;
38 const std::string &Banner =
"",
39 bool ShouldPreserveUseListOrder =
false);
44 const std::string &Banner =
"");
49 const std::string &Banner =
"");
64 bool ShouldPreserveUseListOrder;
69 bool ShouldPreserveUseListOrder =
false);
A Module instance is used to store all the information related to an LLVM module. ...
Pass for printing a Module as LLVM's text IR assembly.
FunctionPass * createPrintFunctionPass(raw_ostream &OS, const std::string &Banner="")
Create and return a pass that prints functions to the specified raw_ostream as they are processed...
A set of analyses that are preserved following a run of a transformation pass.
FunctionPass class - This class is used to implement most global optimizations.
BasicBlockPass class - This class is used to implement most local optimizations.
void printLLVMNameWithoutPrefix(raw_ostream &OS, StringRef Name)
Print out a name of an LLVM value without any prefixes.
BasicBlockPass * createPrintBasicBlockPass(raw_ostream &OS, const std::string &Banner="")
Create and return a pass that writes the BB to the specified raw_ostream.
PreservedAnalyses run(Module &M, AnalysisManager< Module > &)
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
ModulePass * createPrintModulePass(raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false)
Create and return a pass that writes the module to the specified raw_ostream.
PreservedAnalyses run(Function &F, AnalysisManager< Function > &)
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
A container for analyses that lazily runs them and caches their results.
Pass for printing a Function as LLVM's text IR assembly.