Lines Matching refs:Loop
12 // simplify a loop's induction variables based on ScalarEvolution.
45 /// other loop passes that preserve SCEV.
47 Loop *L;
57 SimplifyIndvar(Loop *Loop, ScalarEvolution *SE, DominatorTree *DT,
59 : L(Loop), LI(LI), SE(SE), DT(DT), DeadInsts(Dead), Changed(false) {
168 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
190 // Rewrite the comparison to a loop invariant comparison if it can be done
248 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent());
498 static bool isSimpleIVUser(Instruction *I, const Loop *L, ScalarEvolution *SE) {
537 // do for loop header phis that use each other.
606 /// loop. This does not actually change or add IVs.
607 bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, DominatorTree *DT,