/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILowerControlFlow.cpp | 497 MachineBasicBlock *SplitBB = &MBB; in emitEndCf() local 499 SplitBB = MBB.splitAt(MI, /*UpdateLiveIns*/true, LIS); in emitEndCf() 500 if (MDT && SplitBB != &MBB) { in emitEndCf() 504 MachineDomTreeNode *SplitBBNode = MDT->addNewBlock(SplitBB, &MBB); in emitEndCf() 519 if (SplitBB != &MBB) { in emitEndCf() 526 for (MachineBasicBlock *BlockPiece : {&MBB, SplitBB}) { in emitEndCf() 540 VI.AliveBlocks.set(SplitBB->getNumber()); in emitEndCf() 543 if (Kill->getParent() == SplitBB && !DefInOrigBlock.contains(Reg)) in emitEndCf() 560 return SplitBB; in emitEndCf() 657 MachineBasicBlock *SplitBB = &MBB; in process() local [all …]
|
H A D | SILateBranchLowering.cpp | 107 MachineBasicBlock *SplitBB = MBB.splitAt(MI, /*UpdateLiveIns*/ true); in splitBlock() local 112 for (MachineBasicBlock *Succ : SplitBB->successors()) { in splitBlock() 113 DTUpdates.push_back({DomTreeT::Insert, SplitBB, Succ}); in splitBlock() 116 DTUpdates.push_back({DomTreeT::Insert, &MBB, SplitBB}); in splitBlock()
|
H A D | SIWholeQuadMode.cpp | 749 MachineBasicBlock *SplitBB = in splitBlock() local 774 if (SplitBB != BB) { in splitBlock() 778 for (MachineBasicBlock *Succ : SplitBB->successors()) { in splitBlock() 779 DTUpdates.push_back({DomTreeT::Insert, SplitBB, Succ}); in splitBlock() 782 DTUpdates.push_back({DomTreeT::Insert, BB, SplitBB}); in splitBlock() 791 .addMBB(SplitBB); in splitBlock() 795 return SplitBB; in splitBlock()
|
H A D | SIISelLowering.cpp | 4346 MachineBasicBlock *SplitBB = BB->splitAt(MI, false /*UpdateLiveIns*/); in splitKillBlock() local 4349 return SplitBB; in splitKillBlock() 5513 MachineBasicBlock *SplitBB = BB->splitAt(MI, false /*UpdateLiveIns*/); in EmitInstrWithCustomInserter() local 5523 return SplitBB; in EmitInstrWithCustomInserter() 5528 MachineBasicBlock *SplitBB = in EmitInstrWithCustomInserter() local 5531 return SplitBB; in EmitInstrWithCustomInserter()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PredicateInfo.h | 147 // If true, SplitBB is the true successor, otherwise it's the false successor. 149 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, 151 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch() 150 PredicateBranch(Value * Op,BasicBlock * BranchBB,BasicBlock * SplitBB,Value * Condition,bool TakenEdge) PredicateBranch() argument
|
H A D | BasicBlockUtils.h | 193 /// of preds inside the loop, SplitBB is the new loop exit block, and DestBB is 194 /// the old loop exit, now the successor of SplitBB. 196 BasicBlock *SplitBB, BasicBlock *DestBB);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 1047 MachineBasicBlock *SplitBB = MF->CreateMachineBasicBlock(getBasicBlock()); in splitAt() local 1049 MF->insert(++MachineFunction::iterator(this), SplitBB); in splitAt() 1050 SplitBB->splice(SplitBB->begin(), this, SplitPoint, end()); in splitAt() 1052 SplitBB->transferSuccessorsAndUpdatePHIs(this); in splitAt() 1053 addSuccessor(SplitBB); in splitAt() 1056 addLiveIns(*SplitBB, LiveRegs); in splitAt() 1059 LIS->insertMBBInMaps(SplitBB); in splitAt() 1061 return SplitBB; in splitAt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 239 static void copyMustTailReturn(BasicBlock *SplitBB, Instruction *CI, in copyMustTailReturn() argument 241 bool IsVoid = SplitBB->getParent()->getReturnType()->isVoidTy(); in copyMustTailReturn() 251 Instruction *TI = SplitBB->getTerminator(); in copyMustTailReturn()
|
H A D | SimpleLoopUnswitch.cpp | 890 auto *SplitBB = in unswitchTrivialSwitch() local 892 rewritePHINodesForExitAndUnswitchedBlocks(*DefaultExitBB, *SplitBB, in unswitchTrivialSwitch() 895 DefaultExitBB = SplitExitBBMap[DefaultExitBB] = SplitBB; in unswitchTrivialSwitch() 1168 Loop &L, BasicBlock *LoopPH, BasicBlock *SplitBB, in buildClonedLoopBlocks() argument 2309 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants() local 2310 BasicBlock *LoopPH = SplitEdge(SplitBB, L.getHeader(), &DT, &LI, MSSAU); in unswitchNontrivialInvariants() 2322 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants() 2346 SplitBB->getTerminator()->eraseFromParent(); in unswitchNontrivialInvariants() 2354 TI.moveBefore(*SplitBB, SplitBB->end()); in unswitchNontrivialInvariants() 2370 DTUpdates.push_back({DominatorTree::Insert, SplitBB, ClonedPH}); in unswitchNontrivialInvariants() [all …]
|
H A D | JumpThreading.cpp | 2972 BasicBlock *SplitBB = SI->getParent(); in tryToUnfoldSelectInCurrBB() local 2982 Updates.reserve((2 * SplitBB->getTerminator()->getNumSuccessors()) + 3); in tryToUnfoldSelectInCurrBB() 2983 Updates.push_back({DominatorTree::Insert, BB, SplitBB}); in tryToUnfoldSelectInCurrBB() 2985 Updates.push_back({DominatorTree::Insert, NewBB, SplitBB}); in tryToUnfoldSelectInCurrBB() 2987 for (auto *Succ : successors(SplitBB)) { in tryToUnfoldSelectInCurrBB() 2989 Updates.push_back({DominatorTree::Insert, SplitBB, Succ}); in tryToUnfoldSelectInCurrBB()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 981 BasicBlock *SplitBB, BasicBlock *DestBB) { in createPHIsForSplitLoopExit() argument 983 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit() 984 SplitBB->isLandingPad()) && in createPHIsForSplitLoopExit() 989 int Idx = PN.getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit() 996 if (VP->getParent() == SplitBB) in createPHIsForSplitLoopExit() 1002 SplitBB->isLandingPad() ? SplitBB->begin() in createPHIsForSplitLoopExit() 1003 : SplitBB->getTerminator()->getIterator(); in createPHIsForSplitLoopExit()
|