reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
144 MachineFunction *MF = ThisMBB->getParent(); 147 if (ThisMBB->succ_size() != 2) { 164 MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin() 165 ? *ThisMBB->succ_rbegin() 166 : *ThisMBB->succ_begin(); 185 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; 190 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; 199 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); 200 MachineFunction::iterator It = ThisMBB->getIterator(); 205 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); 205 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); 206 NewMBB->transferSuccessors(ThisMBB); 215 ThisMBB->addSuccessor(NewBRTarget, ProbToNewTarget); 216 ThisMBB->addSuccessor(NewMBB, ProbFallThrough); 219 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 219 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 223 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 223 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 242 updatePHIs(Succ, ThisMBB, NewMBB, MRI); 244 addIncomingValuesToPHIs(NewBRTarget, ThisMBB, NewMBB, MRI); 246 LLVM_DEBUG(dbgs() << "After splitting, ThisMBB:\n"; ThisMBB->dump());