|
LLVM
3.7.0
|
Pass for writing a module of IR out to a bitcode file. More...
#include <BitcodeWriterPass.h>
Public Member Functions | |
| BitcodeWriterPass (raw_ostream &OS, bool ShouldPreserveUseListOrder=false) | |
| Construct a bitcode writer pass around a particular output stream. More... | |
| PreservedAnalyses | run (Module &M) |
| Run the bitcode writer pass, and output the module to the selected output stream. More... | |
Static Public Member Functions | |
| static StringRef | name () |
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 39 of file BitcodeWriterPass.h.
|
inlineexplicit |
Construct a bitcode writer pass around a particular output stream.
If ShouldPreserveUseListOrder, encode use-list order so it can be reproduced when deserialized.
Definition at line 48 of file BitcodeWriterPass.h.
|
inlinestatic |
Definition at line 56 of file BitcodeWriterPass.h.
| PreservedAnalyses BitcodeWriterPass::run | ( | Module & | M | ) |
Run the bitcode writer pass, and output the module to the selected output stream.
Definition at line 21 of file BitcodeWriterPass.cpp.
References llvm::PreservedAnalyses::all(), and llvm::WriteBitcodeToFile().
1.8.6