Go to the documentation of this file.
18 #ifndef LLVM_ANALYSIS_LINT_H
19 #define LLVM_ANALYSIS_LINT_H
47 #endif // LLVM_ANALYSIS_LINT_H
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
A CRTP mix-in to automatically provide informational APIs needed for passes.
FunctionPass * createLintLegacyPassPass()
void lintModule(const Module &M)
Lint a module.
Machine Check Debug Module
void lintFunction(const Function &F)
lintFunction - Check a function for errors, printing messages on stderr.
A container for analyses that lazily runs them and caches their results.
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)