19 #ifndef LLVM_IR_IRPRINTINGPASSES_H
20 #define LLVM_IR_IRPRINTINGPASSES_H
31 class PreservedAnalyses;
37 const std::string &Banner =
"",
38 bool ShouldPreserveUseListOrder =
false);
43 const std::string &Banner =
"");
48 const std::string &Banner =
"");
57 bool ShouldPreserveUseListOrder;
62 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...
An abstract set of preserved analyses following a transformation pass run.
PreservedAnalyses run(Module &M)
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(Function &F)
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.
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.
Pass for printing a Function as LLVM's text IR assembly.