Searched refs:PredIdx (Results 1 – 3 of 3) sorted by relevance
645 for (int PredIdx : llvm::seq<int>(0, SpecPreds.size())) { in speculatePHIs() local646 auto *PredBB = SpecPreds[PredIdx]; in speculatePHIs()652 NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx)); in speculatePHIs()666 assert(SpeculatedVals[PredIdx] && in speculatePHIs()668 assert(SpeculatedVals[PredIdx]->getType() == OpI->getType() && in speculatePHIs()672 U.set(SpeculatedVals[PredIdx]); in speculatePHIs()683 assert(SpeculatedValueMap[OrigI][PredIdx] == NewI && in speculatePHIs()701 for (int PredIdx : llvm::seq<int>(0, SpecPreds.size())) in speculatePHIs() local702 SpecIPN->addIncoming(SpeculatedVals[PredIdx], SpecPreds[PredIdx]); in speculatePHIs()
825 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks() local826 ++PredIdx) { in cloneCommonBlocks()827 BasicBlock *IncomingBlock = PN->getIncomingBlock(PredIdx); in cloneCommonBlocks()847 --PredIdx; in cloneCommonBlocks()
811 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks() local812 ++PredIdx) { in cloneCommonBlocks()813 BasicBlock *IncomingBlock = PN->getIncomingBlock(PredIdx); in cloneCommonBlocks()833 --PredIdx; in cloneCommonBlocks()