/external/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 84 BasicBlock *SplitBB, in createPHIsForSplitLoopExit() argument 87 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit() 88 SplitBB->isLandingPad()) && "SplitBB has non-PHI nodes!"); in createPHIsForSplitLoopExit() 93 unsigned Idx = PN->getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit() 99 if (VP->getParent() == SplitBB) in createPHIsForSplitLoopExit() 105 SplitBB->isLandingPad() ? &SplitBB->front() : SplitBB->getTerminator()); in createPHIsForSplitLoopExit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 102 BasicBlock *SplitBB, in createPHIsForSplitLoopExit() argument 105 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit() 106 SplitBB->isLandingPad()) && "SplitBB has non-PHI nodes!"); in createPHIsForSplitLoopExit() 110 unsigned Idx = PN.getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit() 116 if (VP->getParent() == SplitBB) in createPHIsForSplitLoopExit() 122 SplitBB->isLandingPad() ? &SplitBB->front() : SplitBB->getTerminator()); in createPHIsForSplitLoopExit()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 126 BasicBlock *SplitBB, in CreatePHIsForSplitLoopExit() argument 129 assert(SplitBB->getFirstNonPHI() == SplitBB->getTerminator() && in CreatePHIsForSplitLoopExit() 135 unsigned Idx = PN->getBasicBlockIndex(SplitBB); in CreatePHIsForSplitLoopExit() 140 if (VP->getParent() == SplitBB) in CreatePHIsForSplitLoopExit() 144 SplitBB->getTerminator()); in CreatePHIsForSplitLoopExit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SimpleLoopUnswitch.cpp | 628 auto *SplitBB = in unswitchTrivialSwitch() local 631 *DefaultExitBB, *SplitBB, *ParentBB, *OldPH, /*FullUnswitch*/ true); in unswitchTrivialSwitch() 632 DefaultExitBB = SplitExitBBMap[DefaultExitBB] = SplitBB; in unswitchTrivialSwitch() 871 Loop &L, BasicBlock *LoopPH, BasicBlock *SplitBB, in buildClonedLoopBlocks() argument 1905 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants() local 1906 BasicBlock *LoopPH = SplitEdge(SplitBB, L.getHeader(), &DT, &LI); in unswitchNontrivialInvariants() 1918 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants() 1925 SplitBB->getTerminator()->eraseFromParent(); in unswitchNontrivialInvariants() 1961 SplitBB->getInstList().splice(SplitBB->end(), ParentBB->getInstList(), TI); in unswitchNontrivialInvariants() 1968 DTUpdates.push_back({DominatorTree::Insert, SplitBB, ClonedPH}); in unswitchNontrivialInvariants() [all …]
|
D | CallSiteSplitting.cpp | 239 static void copyMustTailReturn(BasicBlock *SplitBB, Instruction *CI, in copyMustTailReturn() argument 241 bool IsVoid = SplitBB->getParent()->getReturnType()->isVoidTy(); in copyMustTailReturn() 251 TerminatorInst *TI = SplitBB->getTerminator(); in copyMustTailReturn()
|
D | JumpThreading.cpp | 2538 BasicBlock *SplitBB = SI->getParent(); in TryToUnfoldSelectInCurrBB() local 2547 Updates.reserve((2 * SplitBB->getTerminator()->getNumSuccessors()) + 3); in TryToUnfoldSelectInCurrBB() 2548 Updates.push_back({DominatorTree::Insert, BB, SplitBB}); in TryToUnfoldSelectInCurrBB() 2550 Updates.push_back({DominatorTree::Insert, NewBB, SplitBB}); in TryToUnfoldSelectInCurrBB() 2552 for (auto *Succ : successors(SplitBB)) { in TryToUnfoldSelectInCurrBB() 2554 Updates.push_back({DominatorTree::Insert, SplitBB, Succ}); in TryToUnfoldSelectInCurrBB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | PredicateInfo.h | 167 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, in PredicateBranch() argument 169 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 1091 MachineBasicBlock *SplitBB in splitKillBlock() local 1112 FromBB.setMBB(SplitBB); in splitKillBlock() 1120 MF->insert(++MachineFunction::iterator(BB), SplitBB); in splitKillBlock() 1121 SplitBB->splice(SplitBB->begin(), BB, SplitPoint, BB->end()); in splitKillBlock() 1124 SplitBB->transferSuccessors(BB); in splitKillBlock() 1125 BB->addSuccessor(SplitBB); in splitKillBlock() 1128 return SplitBB; in splitKillBlock()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 1506 MachineBasicBlock* SplitBB = llvm::next(MachineFunction::iterator(MBB)); in FixUpConditionalBr() local 1507 AdjustBBOffsetsAfter(SplitBB, -delta); in FixUpConditionalBr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 2793 MachineBasicBlock *SplitBB in splitKillBlock() local 2796 MF->insert(++MachineFunction::iterator(BB), SplitBB); in splitKillBlock() 2797 SplitBB->splice(SplitBB->begin(), BB, SplitPoint, BB->end()); in splitKillBlock() 2799 SplitBB->transferSuccessorsAndUpdatePHIs(BB); in splitKillBlock() 2800 BB->addSuccessor(SplitBB); in splitKillBlock() 2803 return SplitBB; in splitKillBlock()
|