• Home
  • Raw
  • Download

Lines Matching refs:OrigBB

395 static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB,  in UpdatePHINodes()  argument
400 for (BasicBlock::iterator I = OrigBB->begin(); isa<PHINode>(I); ) { in UpdatePHINodes()
507 void llvm::SplitLandingPadPredecessors(BasicBlock *OrigBB, in SplitLandingPadPredecessors() argument
512 assert(OrigBB->isLandingPad() && "Trying to split a non-landing pad!"); in SplitLandingPadPredecessors()
516 BasicBlock *NewBB1 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors()
517 OrigBB->getName() + Suffix1, in SplitLandingPadPredecessors()
518 OrigBB->getParent(), OrigBB); in SplitLandingPadPredecessors()
522 BranchInst *BI1 = BranchInst::Create(OrigBB, NewBB1); in SplitLandingPadPredecessors()
531 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1); in SplitLandingPadPredecessors()
536 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, P, HasLoopExit); in SplitLandingPadPredecessors()
539 UpdatePHINodes(OrigBB, NewBB1, Preds, BI1, P, HasLoopExit); in SplitLandingPadPredecessors()
543 for (pred_iterator i = pred_begin(OrigBB), e = pred_end(OrigBB); in SplitLandingPadPredecessors()
550 e = pred_end(OrigBB); in SplitLandingPadPredecessors()
556 NewBB2 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors()
557 OrigBB->getName() + Suffix2, in SplitLandingPadPredecessors()
558 OrigBB->getParent(), OrigBB); in SplitLandingPadPredecessors()
562 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2); in SplitLandingPadPredecessors()
567 (*i)->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors()
571 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, P, HasLoopExit); in SplitLandingPadPredecessors()
574 UpdatePHINodes(OrigBB, NewBB2, NewBB2Preds, BI2, P, HasLoopExit); in SplitLandingPadPredecessors()
577 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors()