Searched refs:LatchTerm (Results 1 – 3 of 3) sorted by relevance
819 auto *LatchTerm = cast<Instruction>(NewLatch->getTerminator()); in cloneLoopBlocks() local820 for (unsigned idx = 0, e = LatchTerm->getNumSuccessors(); idx < e; ++idx) in cloneLoopBlocks()821 if (LatchTerm->getSuccessor(idx) == Header) { in cloneLoopBlocks()822 LatchTerm->setSuccessor(idx, InsertBot); in cloneLoopBlocks()1010 Instruction *LatchTerm = in peelLoop() local1052 auto *LatchTermCopy = cast<Instruction>(VMap[LatchTerm]); in peelLoop()
766 Instruction *LatchTerm = BB->getTerminator(); in SplitEdge() local771 if ((isCriticalEdge(LatchTerm, SuccNum, Options.MergeIdenticalEdges))) { in SplitEdge()778 return SplitKnownCriticalEdge(LatchTerm, SuccNum, Options, BBName); in SplitEdge()
893 auto *LatchTerm = LatchBlock->getTerminator(); in parseLoopLatchICmp() 894 assert(LatchTerm->getNumSuccessors() == 2 && in parseLoopLatchICmp() 897 LatchTerm->getSuccessor(0) == L->getHeader() ? 1 : 0; in parseLoopLatchICmp() 905 auto *LatchExitBlock = LatchTerm->getSuccessor(LatchBrExitIdx); in parseLoopLatchICmp() 906 if (isa<UnreachableInst>(LatchTerm) || in parseLoopLatchICmp() 912 if (!hasValidBranchWeightMD(*LatchTerm)) in parseLoopLatchICmp() 975 auto *LatchTerm = LatchBlock->getTerminator(); isLoopProfitableToPredicate() local