LLVM: llvm::BitcodeWriterPass Class Reference (original) (raw)
Pass for writing a module of IR out to a bitcode file. More...
#include "[llvm/Bitcode/BitcodeWriterPass.h](BitcodeWriterPass%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| BitcodeWriterPass (raw_ostream &OS, bool ShouldPreserveUseListOrder=false, bool EmitSummaryIndex=false, bool EmitModuleHash=false) | |
| Construct a bitcode writer pass around a particular output stream. | |
| LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
| Run the bitcode writer pass, and output the module to the selected output stream. | |
| Public Member Functions inherited from llvm::PassInfoMixin< BitcodeWriterPass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Pass for writing a module of IR out to a bitcode file.
Note that this is intended for use with the new pass manager. To construct a pass for the legacy pass manager, use the function above.
Definition at line 43 of file BitcodeWriterPass.h.
| llvm::BitcodeWriterPass::BitcodeWriterPass ( raw_ostream & OS, bool ShouldPreserveUseListOrder = false, bool EmitSummaryIndex = false, bool EmitModuleHash = false ) | inlineexplicit |
|---|
Construct a bitcode writer pass around a particular output stream.
If ShouldPreserveUseListOrder, encode use-list order so it can be reproduced when deserialized.
If EmitSummaryIndex, emit the summary index (currently for use in ThinLTO optimization).
Definition at line 57 of file BitcodeWriterPass.h.
◆ isRequired()
| bool llvm::BitcodeWriterPass::isRequired ( ) | inlinestatic |
|---|
◆ run()
The documentation for this class was generated from the following files:
- include/llvm/Bitcode/BitcodeWriterPass.h
- lib/Bitcode/Writer/BitcodeWriterPass.cpp