Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp183 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument
207 for (PHINode &PN : NewExit->phis()) { in ConnectEpilog()
239 NewExit); in ConnectEpilog()
258 NewExit->getFirstNonPHI()); in ConnectEpilog()
271 Instruction *InsertPt = NewExit->getTerminator(); in ConnectEpilog()
283 DT->changeImmediateDominator(Exit, NewExit); in ConnectEpilog()
287 SplitBlockPredecessors(NewExit, NewExitPreds, ".loopexit", DT, LI, nullptr, in ConnectEpilog()
663 BasicBlock *NewExit = nullptr; in UnrollRuntimeLoopRemainder() local
675 NewExit = SplitBlockPredecessors(LatchExit, Preds, ".unr-lcssa", DT, LI, in UnrollRuntimeLoopRemainder()
680 auto *NewExitTerminator = NewExit->getTerminator(); in UnrollRuntimeLoopRemainder()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp237 void changeExit(RegionNode *Node, BasicBlock *NewExit,
678 void StructurizeCFG::changeExit(RegionNode *Node, BasicBlock *NewExit, in changeExit() argument
695 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit); in changeExit()
696 addPhiValues(BB, NewExit); in changeExit()
709 DT->changeImmediateDominator(NewExit, Dominator); in changeExit()
712 SubRegion->replaceExit(NewExit); in changeExit()
716 BranchInst::Create(NewExit, BB); in changeExit()
717 addPhiValues(BB, NewExit); in changeExit()
719 DT->changeImmediateDominator(NewExit, BB); in changeExit()
DLoopUnswitch.cpp1027 BasicBlock *NewExit = in UnswitchTrivialCondition() local
1034 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, OldBranch, TI); in UnswitchTrivialCondition()
1310 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]); in UnswitchNontrivialCondition() local
1313 ExitBBLoop->addBasicBlockToLoop(NewExit, *LI); in UnswitchNontrivialCondition()
1315 assert(NewExit->getTerminator()->getNumSuccessors() == 1 && in UnswitchNontrivialCondition()
1317 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in UnswitchNontrivialCondition()
1325 PN.addIncoming(V, NewExit); in UnswitchNontrivialCondition()
1328 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp418 void setExit(MachineBasicBlock *NewExit);
992 void LinearizedRegion::setExit(MachineBasicBlock *NewExit) { Exit = NewExit; } in setExit() argument
2488 auto NewExit = MF->CreateMachineBasicBlock(); in splitExit() local
2491 MF->insert(AfterExitIter, NewExit); in splitExit()
2493 Exit->addSuccessor(NewExit); in splitExit()
2494 NewExit->addSuccessor(Succ); in splitExit()
2495 insertUnconditionalBranch(NewExit, Succ); in splitExit()
2496 LRegion->addMBB(NewExit); in splitExit()
2497 LRegion->setExit(NewExit); in splitExit()
2499 LLVM_DEBUG(dbgs() << "Created new exit block: " << NewExit->getNumber() in splitExit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp753 if (BasicBlock *NewExit = cast_or_null<BasicBlock>(VMap->lookup(Exit))) { in privateUpdateExitBlocksForClonedLoop() local
754 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in privateUpdateExitBlocksForClonedLoop()
755 Updates.push_back({DT.Insert, NewExit, ExitSucc}); in privateUpdateExitBlocksForClonedLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DRegionInfoImpl.h86 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive() argument
95 R->replaceExit(NewExit); in replaceExitRecursive()
DRegionInfo.h355 void replaceExitRecursive(BlockT *NewExit);