Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp151 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument
175 for (Instruction &BBI : *NewExit) { in ConnectEpilog()
211 NewExit); in ConnectEpilog()
234 NewExit->getFirstNonPHI()); in ConnectEpilog()
247 Instruction *InsertPt = NewExit->getTerminator(); in ConnectEpilog()
498 BasicBlock *NewExit = nullptr; in UnrollRuntimeLoopRemainder() local
510 NewExit = SplitBlockPredecessors(Exit, Preds, ".unr-lcssa", in UnrollRuntimeLoopRemainder()
513 EpilogPreHeader = SplitBlock(NewExit, NewExit->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder()
583 BasicBlock *RemainderLoop = UseEpilogRemainder ? NewExit : PrologPreHeader; in UnrollRuntimeLoopRemainder()
647 ConnectEpilog(L, ModVal, NewExit, Exit, PreHeader, in UnrollRuntimeLoopRemainder()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp216 void changeExit(RegionNode *Node, BasicBlock *NewExit,
654 void StructurizeCFG::changeExit(RegionNode *Node, BasicBlock *NewExit, in changeExit() argument
671 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit); in changeExit()
672 addPhiValues(BB, NewExit); in changeExit()
685 DT->changeImmediateDominator(NewExit, Dominator); in changeExit()
688 SubRegion->replaceExit(NewExit); in changeExit()
693 BranchInst::Create(NewExit, BB); in changeExit()
694 addPhiValues(BB, NewExit); in changeExit()
696 DT->changeImmediateDominator(NewExit, BB); in changeExit()
DLoopUnswitch.cpp840 BasicBlock *NewExit = SplitBlock(ExitBlock, &ExitBlock->front(), DT, LI); in UnswitchTrivialCondition() local
844 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, in UnswitchTrivialCondition()
1100 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]); in UnswitchNontrivialCondition() local
1103 ExitBBLoop->addBasicBlockToLoop(NewExit, *LI); in UnswitchNontrivialCondition()
1105 assert(NewExit->getTerminator()->getNumSuccessors() == 1 && in UnswitchNontrivialCondition()
1107 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in UnswitchNontrivialCondition()
1116 PN->addIncoming(V, NewExit); in UnswitchNontrivialCondition()
1119 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp536 BasicBlock *NewExit = SplitBlock(ExitBlock, ExitBlock->begin(), this); in UnswitchTrivialCondition() local
540 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, in UnswitchTrivialCondition()
644 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]); in UnswitchNontrivialCondition() local
647 ExitBBLoop->addBasicBlockToLoop(NewExit, LI->getBase()); in UnswitchNontrivialCondition()
649 assert(NewExit->getTerminator()->getNumSuccessors() == 1 && in UnswitchNontrivialCondition()
651 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in UnswitchNontrivialCondition()
661 PN->addIncoming(V, NewExit); in UnswitchNontrivialCondition()
664 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
/external/llvm/include/llvm/Analysis/
DRegionInfoImpl.h83 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive() argument
92 R->replaceExit(NewExit); in replaceExitRecursive()
DRegionInfo.h347 void replaceExitRecursive(BlockT *NewExit);