Lines Matching refs:Latch
958 auto *Latch = TheLoop->getLoopLatch(); in isFixedOrderRecurrence() local
959 if (!Preheader || !Latch) in isFixedOrderRecurrence()
964 Phi->getBasicBlockIndex(Latch) < 0) in isFixedOrderRecurrence()
969 auto *Previous = dyn_cast<Instruction>(Phi->getIncomingValueForBlock(Latch)); in isFixedOrderRecurrence()
981 Previous = dyn_cast<Instruction>(PrevPhi->getIncomingValueForBlock(Latch)); in isFixedOrderRecurrence()
1394 BasicBlock *Latch = L->getLoopLatch(); in getCastsForInductionPHI() local
1395 if (!Latch) in getCastsForInductionPHI()
1397 Value *Val = PN->getIncomingValueForBlock(Latch); in getCastsForInductionPHI()
1512 BasicBlock *Latch = AR->getLoop()->getLoopLatch(); in isInductionPHI() local
1513 if (!Latch) in isInductionPHI()
1525 dyn_cast<BinaryOperator>(Phi->getIncomingValueForBlock(Latch)); in isInductionPHI()