15 #ifndef LLVM_BITCODE_BITCODEWRITERPASS_H
16 #define LLVM_BITCODE_BITCODEWRITERPASS_H
24 class PreservedAnalyses;
33 bool ShouldPreserveUseListOrder =
false);
41 bool ShouldPreserveUseListOrder;
49 bool ShouldPreserveUseListOrder =
false)
50 : OS(OS), ShouldPreserveUseListOrder(ShouldPreserveUseListOrder) {}
A Module instance is used to store all the information related to an LLVM module. ...
ModulePass * createBitcodeWriterPass(raw_ostream &Str, bool ShouldPreserveUseListOrder=false)
Create and return a pass that writes the module to the specified ostream.
BitcodeWriterPass(raw_ostream &OS, bool ShouldPreserveUseListOrder=false)
Construct a bitcode writer pass around a particular output stream.
An abstract set of preserved analyses following a transformation pass run.
Pass for writing a module of IR out to a bitcode file.
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.
PreservedAnalyses run(Module &M)
Run the bitcode writer pass, and output the module to the selected output stream. ...