Searched refs:BBIdx (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp190 unsigned BBIdx = 0; local
197 // Reuse the previous value of BBIdx if it lines up. In cases where we
202 if (PN->getIncomingBlock(BBIdx) != TIBB)
203 BBIdx = PN->getBasicBlockIndex(TIBB);
204 PN->setIncomingBlock(BBIdx, NewBB);
H A DBasicBlockUtils.cpp666 int BBIdx = 0; local
673 // Reuse the previous value of BBIdx if it lines up. In cases where we
678 if (PN.getIncomingBlock(BBIdx) != OldPred)
679 BBIdx = PN.getBasicBlockIndex(OldPred);
681 assert(BBIdx != -1 && "Invalid PHI Index!");
682 PN.setIncomingBlock(BBIdx, NewPred);

Completed in 59 milliseconds