reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
140 assert(BSI.allInstrsInSameMBB() && 143 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); 155 unsigned OrigBROpcode = BSI.OrigBranch->getOpcode(); 162 unsigned NewBROpcode = BSI.InvertNewBranch ? InvertedOpcode : OrigBROpcode; 163 MachineBasicBlock *OrigTarget = BSI.OrigBranch->getOperand(1).getMBB(); 168 BSI.BranchToFallThrough ? OrigFallThrough : OrigTarget; 183 if (BSI.MBPI) { 184 if (BSI.BranchToFallThrough) { 185 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; 190 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; 198 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; 219 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 221 .addReg(BSI.SplitCond->getOperand(0).getReg()) 223 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), 226 if (BSI.MIToDelete) 227 BSI.MIToDelete->eraseFromParent(); 231 if (BSI.NewCond) { 234 FirstTerminator->getOperand(0).setReg(BSI.NewCond->getOperand(0).getReg()); 236 if (BSI.InvertOrigBranch)