/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 166 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument 190 for (PHINode &PN : NewExit->phis()) { in ConnectEpilog() 222 NewExit); in ConnectEpilog() 241 NewExit->getFirstNonPHI()); in ConnectEpilog() 254 Instruction *InsertPt = NewExit->getTerminator(); in ConnectEpilog() 266 DT->changeImmediateDominator(Exit, NewExit); in ConnectEpilog() 270 SplitBlockPredecessors(NewExit, NewExitPreds, ".loopexit", DT, LI, in ConnectEpilog() 627 BasicBlock *NewExit = nullptr; in UnrollRuntimeLoopRemainder() local 639 NewExit = SplitBlockPredecessors(LatchExit, Preds, ".unr-lcssa", in UnrollRuntimeLoopRemainder() 644 auto *NewExitTerminator = NewExit->getTerminator(); in UnrollRuntimeLoopRemainder() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 151 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/ |
D | StructurizeCFG.cpp | 216 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()
|
D | LoopUnswitch.cpp | 840 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-7.0/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 230 void changeExit(RegionNode *Node, BasicBlock *NewExit, 653 void StructurizeCFG::changeExit(RegionNode *Node, BasicBlock *NewExit, in changeExit() argument 670 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit); in changeExit() 671 addPhiValues(BB, NewExit); in changeExit() 684 DT->changeImmediateDominator(NewExit, Dominator); in changeExit() 687 SubRegion->replaceExit(NewExit); in changeExit() 691 BranchInst::Create(NewExit, BB); in changeExit() 692 addPhiValues(BB, NewExit); in changeExit() 694 DT->changeImmediateDominator(NewExit, BB); in changeExit()
|
D | LoopUnswitch.cpp | 998 BasicBlock *NewExit = SplitBlock(ExitBlock, &ExitBlock->front(), DT, LI); in UnswitchTrivialCondition() local 1004 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, OldBranch, TI); in UnswitchTrivialCondition() 1273 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]); in UnswitchNontrivialCondition() local 1276 ExitBBLoop->addBasicBlockToLoop(NewExit, *LI); in UnswitchNontrivialCondition() 1278 assert(NewExit->getTerminator()->getNumSuccessors() == 1 && in UnswitchNontrivialCondition() 1280 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0); in UnswitchNontrivialCondition() 1288 PN.addIncoming(V, NewExit); in UnswitchNontrivialCondition() 1291 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 536 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 418 void setExit(MachineBasicBlock *NewExit); 992 void LinearizedRegion::setExit(MachineBasicBlock *NewExit) { Exit = NewExit; } in setExit() argument 2486 auto NewExit = MF->CreateMachineBasicBlock(); in splitExit() local 2489 MF->insert(AfterExitIter, NewExit); in splitExit() 2491 Exit->addSuccessor(NewExit); in splitExit() 2492 NewExit->addSuccessor(Succ); in splitExit() 2493 insertUnconditionalBranch(NewExit, Succ); in splitExit() 2494 LRegion->addMBB(NewExit); in splitExit() 2495 LRegion->setExit(NewExit); in splitExit() 2497 LLVM_DEBUG(dbgs() << "Created new exit block: " << NewExit->getNumber() in splitExit() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | RegionInfoImpl.h | 87 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive() argument 96 R->replaceExit(NewExit); in replaceExitRecursive()
|
D | RegionInfo.h | 356 void replaceExitRecursive(BlockT *NewExit);
|
/external/llvm/include/llvm/Analysis/ |
D | RegionInfoImpl.h | 83 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive() argument 92 R->replaceExit(NewExit); in replaceExitRecursive()
|
D | RegionInfo.h | 347 void replaceExitRecursive(BlockT *NewExit);
|