Lines Matching refs:Branch
182 MachineInstr *Branch = CCUsers[0]; in convertToBRCT() local
183 if (Branch->getOpcode() != SystemZ::BRC || in convertToBRCT()
184 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP || in convertToBRCT()
185 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE) in convertToBRCT()
192 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT()
198 MachineOperand Target(Branch->getOperand(2)); in convertToBRCT()
199 Branch->RemoveOperand(2); in convertToBRCT()
200 Branch->RemoveOperand(1); in convertToBRCT()
201 Branch->RemoveOperand(0); in convertToBRCT()
202 Branch->setDesc(TII->get(BRCT)); in convertToBRCT()
203 MachineInstrBuilder(*Branch->getParent()->getParent(), Branch) in convertToBRCT()
376 MachineInstr *Branch = CCUsers[0]; in fuseCompareAndBranch() local
377 if (Branch->getOpcode() != SystemZ::BRC) in fuseCompareAndBranch()
384 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in fuseCompareAndBranch()
399 Branch->RemoveOperand(CCUse); in fuseCompareAndBranch()
400 Branch->RemoveOperand(2); in fuseCompareAndBranch()
401 Branch->RemoveOperand(1); in fuseCompareAndBranch()
402 Branch->RemoveOperand(0); in fuseCompareAndBranch()
405 Branch->setDesc(TII->get(FusedOpcode)); in fuseCompareAndBranch()
406 MachineInstrBuilder(*Branch->getParent()->getParent(), Branch) in fuseCompareAndBranch()