Home
last modified time | relevance | path

Searched refs:PredIdx (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp645 for (int PredIdx : llvm::seq<int>(0, SpecPreds.size())) { in speculatePHIs() local
646 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() local
702 SpecIPN->addIncoming(SpeculatedVals[PredIdx], SpecPreds[PredIdx]); in speculatePHIs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp825 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks() local
826 ++PredIdx) { in cloneCommonBlocks()
827 BasicBlock *IncomingBlock = PN->getIncomingBlock(PredIdx); in cloneCommonBlocks()
847 --PredIdx; in cloneCommonBlocks()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp811 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks() local
812 ++PredIdx) { in cloneCommonBlocks()
813 BasicBlock *IncomingBlock = PN->getIncomingBlock(PredIdx); in cloneCommonBlocks()
833 --PredIdx; in cloneCommonBlocks()