Lines Matching refs:ThisMBB
144 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); in splitMBB() local
145 MachineFunction *MF = ThisMBB->getParent(); in splitMBB()
148 if (ThisMBB->succ_size() != 2) { in splitMBB()
165 MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin() in splitMBB()
166 ? *ThisMBB->succ_rbegin() in splitMBB()
167 : *ThisMBB->succ_begin(); in splitMBB()
186 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; in splitMBB()
191 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; in splitMBB()
200 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); in splitMBB()
201 MachineFunction::iterator It = ThisMBB->getIterator(); in splitMBB()
206 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB()
207 NewMBB->transferSuccessors(ThisMBB); in splitMBB()
216 ThisMBB->addSuccessor(NewBRTarget, ProbToNewTarget); in splitMBB()
217 ThisMBB->addSuccessor(NewMBB, ProbFallThrough); in splitMBB()
220 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
224 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
243 updatePHIs(Succ, ThisMBB, NewMBB, MRI); in splitMBB()
245 addIncomingValuesToPHIs(NewBRTarget, ThisMBB, NewMBB, MRI); in splitMBB()
247 LLVM_DEBUG(dbgs() << "After splitting, ThisMBB:\n"; ThisMBB->dump()); in splitMBB()