Go to the source code of this file.
|
| | llvm |
| | Compute iterated dominance frontiers using a linear time algorithm.
|
| |
|
| | STATISTIC (NumElimIdentity,"Number of IV identities eliminated") |
| |
| | STATISTIC (NumElimOperand,"Number of IV operands folded into a use") |
| |
| | STATISTIC (NumElimRem,"Number of IV remainder operations eliminated") |
| |
| | STATISTIC (NumElimCmp,"Number of IV comparisons eliminated") |
| |
| static void | pushIVUsers (Instruction *Def, SmallPtrSet< Instruction *, 16 > &Simplified, SmallVectorImpl< std::pair< Instruction *, Instruction * > > &SimpleIVUsers) |
| | Add all uses of Def to the current IV's worklist. More...
|
| |
| static bool | isSimpleIVUser (Instruction *I, const Loop *L, ScalarEvolution *SE) |
| | Return true if this instruction generates a simple SCEV expression in terms of that IV. More...
|
| |
| bool | llvm::simplifyUsersOfIV (PHINode *CurrIV, ScalarEvolution *SE, DominatorTree *DT, LoopInfo *LI, SmallVectorImpl< WeakVH > &Dead, IVVisitor *V=nullptr) |
| | simplifyUsersOfIV - Simplify instructions that use this induction variable by using ScalarEvolution to analyze the IV's recurrence. More...
|
| |
| bool | llvm::simplifyLoopIVs (Loop *L, ScalarEvolution *SE, DominatorTree *DT, LoopInfo *LI, SmallVectorImpl< WeakVH > &Dead) |
| | SimplifyLoopIVs - Simplify users of induction variables within this loop. More...
|
| |
| #define DEBUG_TYPE "indvars" |
| STATISTIC |
( |
NumElimIdentity |
, |
|
|
"Number of IV identities eliminated" |
|
|
) |
| |
| STATISTIC |
( |
NumElimOperand |
, |
|
|
"Number of IV operands folded into a use" |
|
|
) |
| |
| STATISTIC |
( |
NumElimRem |
, |
|
|
"Number of IV remainder operations eliminated" |
|
|
) |
| |
| STATISTIC |
( |
NumElimCmp |
, |
|
|
"Number of IV comparisons eliminated" |
|
|
) |
| |