Home | History | Annotate | Download | only in Scalar

Lines Matching refs:LatchBlock

1409   if (BasicBlock *LatchBlock = L->getLoopLatch()) {
1411 cast<Instruction>(WidePhi->getIncomingValueForBlock(LatchBlock));
1601 BasicBlock *LatchBlock = L->getLoopLatch();
1603 if (!LatchBlock)
1695 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) {
1696 int LatchIdx = Phi->getBasicBlockIndex(LatchBlock);
1730 BasicBlock *LatchBlock = L->getLoopLatch();
1731 assert(LatchBlock && "needsLFTR should guarantee a loop latch");
1758 int LatchIdx = Phi->getBasicBlockIndex(LatchBlock);
1778 if (BestPhi && !AlmostDeadIV(BestPhi, LatchBlock, Cond)) {
1780 if (AlmostDeadIV(Phi, LatchBlock, Cond))