Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp108 BasicBlock *SplitBB, in createPHIsForSplitLoopExit() argument
111 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit()
112 SplitBB->isLandingPad()) && "SplitBB has non-PHI nodes!"); in createPHIsForSplitLoopExit()
116 unsigned Idx = PN.getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit()
122 if (VP->getParent() == SplitBB) in createPHIsForSplitLoopExit()
128 SplitBB->isLandingPad() ? &SplitBB->front() : SplitBB->getTerminator()); in createPHIsForSplitLoopExit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp712 auto *SplitBB = in unswitchTrivialSwitch() local
714 rewritePHINodesForExitAndUnswitchedBlocks(*DefaultExitBB, *SplitBB, in unswitchTrivialSwitch()
717 DefaultExitBB = SplitExitBBMap[DefaultExitBB] = SplitBB; in unswitchTrivialSwitch()
987 Loop &L, BasicBlock *LoopPH, BasicBlock *SplitBB, in buildClonedLoopBlocks() argument
2034 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants() local
2035 BasicBlock *LoopPH = SplitEdge(SplitBB, L.getHeader(), &DT, &LI, MSSAU); in unswitchNontrivialInvariants()
2047 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2054 SplitBB->getTerminator()->eraseFromParent(); in unswitchNontrivialInvariants()
2058 SplitBB->getInstList().splice(SplitBB->end(), ParentBB->getInstList(), TI); in unswitchNontrivialInvariants()
2069 DTUpdates.push_back({DominatorTree::Insert, SplitBB, ClonedPH}); in unswitchNontrivialInvariants()
[all …]
DCallSiteSplitting.cpp243 static void copyMustTailReturn(BasicBlock *SplitBB, Instruction *CI, in copyMustTailReturn() argument
245 bool IsVoid = SplitBB->getParent()->getReturnType()->isVoidTy(); in copyMustTailReturn()
255 Instruction *TI = SplitBB->getTerminator(); in copyMustTailReturn()
DJumpThreading.cpp2614 BasicBlock *SplitBB = SI->getParent(); in TryToUnfoldSelectInCurrBB() local
2623 Updates.reserve((2 * SplitBB->getTerminator()->getNumSuccessors()) + 3); in TryToUnfoldSelectInCurrBB()
2624 Updates.push_back({DominatorTree::Insert, BB, SplitBB}); in TryToUnfoldSelectInCurrBB()
2626 Updates.push_back({DominatorTree::Insert, NewBB, SplitBB}); in TryToUnfoldSelectInCurrBB()
2628 for (auto *Succ : successors(SplitBB)) { in TryToUnfoldSelectInCurrBB()
2630 Updates.push_back({DominatorTree::Insert, SplitBB, Succ}); in TryToUnfoldSelectInCurrBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h166 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, in PredicateBranch() argument
168 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp3050 MachineBasicBlock *SplitBB in splitKillBlock() local
3053 MF->insert(++MachineFunction::iterator(BB), SplitBB); in splitKillBlock()
3054 SplitBB->splice(SplitBB->begin(), BB, SplitPoint, BB->end()); in splitKillBlock()
3056 SplitBB->transferSuccessorsAndUpdatePHIs(BB); in splitKillBlock()
3057 BB->addSuccessor(SplitBB); in splitKillBlock()
3060 return SplitBB; in splitKillBlock()