Go to the documentation of this file.
14 #ifndef LLVM_BITCODE_BITCODEWRITERPASS_H
15 #define LLVM_BITCODE_BITCODEWRITERPASS_H
38 bool ShouldPreserveUseListOrder =
false,
39 bool EmitSummaryIndex =
false,
40 bool EmitModuleHash =
false);
51 bool ShouldPreserveUseListOrder;
52 bool EmitSummaryIndex;
64 bool ShouldPreserveUseListOrder =
false,
65 bool EmitSummaryIndex =
false,
66 bool EmitModuleHash =
false)
67 : OS(OS), ShouldPreserveUseListOrder(ShouldPreserveUseListOrder),
68 EmitSummaryIndex(EmitSummaryIndex), EmitModuleHash(EmitModuleHash) {}
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
print lazy value Lazy Value Info Printer Pass
A CRTP mix-in to automatically provide informational APIs needed for passes.
This currently compiles esp xmm0 movsd esp eax eax esp ret We should use not the dag combiner This is because dagcombine2 needs to be able to see through the X86ISD::Wrapper which DAGCombine can t really do The code for turning x load into a single vector load is target independent and should be moved to the dag combiner The code for turning x load into a vector load can only handle a direct load from a global or a direct load from the stack It should be generalized to handle any load from P
ModulePass * createBitcodeWriterPass(raw_ostream &Str, bool ShouldPreserveUseListOrder=false, bool EmitSummaryIndex=false, bool EmitModuleHash=false)
Create and return a pass that writes the module to the specified ostream.
This class implements an extremely fast bulk output stream that can only output to a stream.
Pass for writing a module of IR out to a bitcode file.
A Module instance is used to store all the information related to an LLVM module.
Machine Check Debug Module
BitcodeWriterPass(raw_ostream &OS, bool ShouldPreserveUseListOrder=false, bool EmitSummaryIndex=false, bool EmitModuleHash=false)
Construct a bitcode writer pass around a particular output stream.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &)
Run the bitcode writer pass, and output the module to the selected output stream.
A container for analyses that lazily runs them and caches their results.
bool isBitcodeWriterPass(Pass *P)
Check whether a pass is a BitcodeWriterPass.