17 #ifndef LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINE_H 18 #define LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINE_H 28 bool ExpensiveCombines;
34 : ExpensiveCombines(ExpensiveCombines) {}
45 const bool ExpensiveCombines;
51 :
FunctionPass(ID), ExpensiveCombines(ExpensiveCombines) {
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
Compute iterated dominance frontiers using a linear time algorithm.
A CRTP mix-in to automatically provide informational APIs needed for passes.
FunctionPass * createInstructionCombiningPass(bool ExpensiveCombines=true)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
static bool runOnFunction(Function &F, bool PostInlining)
A set of analyses that are preserved following a run of a transformation pass.
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
The legacy pass manager's instcombine pass.
InstructionCombiningPass(bool ExpensiveCombines=true)
InstCombineWorklist - This is the worklist management logic for InstCombine.
InstCombinePass(bool ExpensiveCombines=true)
void initializeInstructionCombiningPassPass(PassRegistry &)
StringRef - Represent a constant reference to a string, i.e.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.