Home
last modified time | relevance | path

Searched refs:NewExit (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp212 void changeExit(RegionNode *Node, BasicBlock *NewExit,
648 void StructurizeCFG::changeExit(RegionNode *Node, BasicBlock *NewExit, in changeExit() argument
665 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit); in changeExit()
666 addPhiValues(BB, NewExit); in changeExit()
679 DT->changeImmediateDominator(NewExit, Dominator); in changeExit()
682 SubRegion->replaceExit(NewExit); in changeExit()
687 BranchInst::Create(NewExit, BB); in changeExit()
688 addPhiValues(BB, NewExit); in changeExit()
690 DT->changeImmediateDominator(NewExit, BB); in changeExit()
DLoopUnswitch.cpp783 BasicBlock *NewExit = SplitBlock(ExitBlock, &ExitBlock->front(), DT, LI); in UnswitchTrivialCondition() local
787 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, in UnswitchTrivialCondition()
1043 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]); in UnswitchNontrivialCondition() local
1046 ExitBBLoop->addBasicBlockToLoop(NewExit, *LI); in UnswitchNontrivialCondition()
1048 assert(NewExit->getTerminator()->getNumSuccessors() == 1 && in UnswitchNontrivialCondition()
1050 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in UnswitchNontrivialCondition()
1059 PN->addIncoming(V, NewExit); in UnswitchNontrivialCondition()
1062 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
/external/llvm/include/llvm/Analysis/
DRegionInfoImpl.h84 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive() argument
93 R->replaceExit(NewExit); in replaceExitRecursive()
DRegionInfo.h346 void replaceExitRecursive(BlockT *NewExit);