Go to the documentation of this file.
21 struct StripNonLineTableDebugLegacyPass :
public ModulePass {
32 bool runOnModule(
Module &M)
override {
40 "strip-nonlinetable-debuginfo",
41 "Strip all debug info except linetables",
false,
false)
44 return new StripNonLineTableDebugLegacyPass();
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
INITIALIZE_PASS(StripNonLineTableDebugLegacyPass, "strip-nonlinetable-debuginfo", "Strip all debug info except linetables", false, false) ModulePass *llvm
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
Represent the analysis usage information of a pass.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
ModulePass * createStripNonLineTableDebugLegacyPass()
This function returns a new pass that downgrades the debug info in the module to line tables only.
A Module instance is used to store all the information related to an LLVM module.
void setPreservesAll()
Set by analyses that do not transform their input at all.
static PreservedAnalyses all()
Construct a special preserved set that preserves all passes.
bool stripNonLineTableDebugInfo(Module &M)
Downgrade the debug info in a module to contain only line table information.
A container for analyses that lazily runs them and caches their results.
void initializeStripNonLineTableDebugLegacyPassPass(PassRegistry &)