Searched defs:NewBB1 (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp516 BasicBlock *NewBB1 = BasicBlock::Create(OrigBB->getContext(), local
519 NewBBs.push_back(NewBB1);
522 BranchInst *BI1 = BranchInst::Create(OrigBB, NewBB1);
524 // Move the edges from Preds to point to NewBB1 instead of OrigBB.
531 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1);
536 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, P, HasLoopExit);
538 // Update the PHI nodes in OrigBB with the values coming from NewBB1.
539 UpdatePHINodes(OrigBB, NewBB1, Preds, BI1, P, HasLoopExit);
546 if (Pred == NewBB1) continue;
580 NewBB1
[all...]

Completed in 59 milliseconds