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

/external/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp526 // Move the remaining edges from OrigBB to point to NewBB2.
538 BasicBlock *NewBB2 = 0; local
541 NewBB2 = BasicBlock::Create(OrigBB->getContext(),
544 NewBBs.push_back(NewBB2);
547 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2);
549 // Move the remaining edges from OrigBB to point to NewBB2.
552 (*i)->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2);
556 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, P, HasLoopExit);
558 // Update the PHI nodes in OrigBB with the values coming from NewBB2.
559 UpdatePHINodes(OrigBB, NewBB2, NewBB2Pred
[all...]

Completed in 52 milliseconds