Lines Matching refs:MBBI
51 MachineBasicBlock::iterator MBBI,
56 MachineBasicBlock::iterator MBBI,
61 MachineBasicBlock::iterator MBBI,
63 bool selectMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
85 MachineBasicBlock::iterator MBBI, in selectLOCRMux() argument
89 Register DestReg = MBBI->getOperand(0).getReg(); in selectLOCRMux()
90 Register SrcReg = MBBI->getOperand(2).getReg(); in selectLOCRMux()
95 MBBI->setDesc(TII->get(LowOpcode)); in selectLOCRMux()
97 MBBI->setDesc(TII->get(HighOpcode)); in selectLOCRMux()
99 expandCondMove(MBB, MBBI, NextMBBI); in selectLOCRMux()
106 MachineBasicBlock::iterator MBBI, in selectSELRMux() argument
110 Register DestReg = MBBI->getOperand(0).getReg(); in selectSELRMux()
111 Register Src1Reg = MBBI->getOperand(1).getReg(); in selectSELRMux()
112 Register Src2Reg = MBBI->getOperand(2).getReg(); in selectSELRMux()
122 BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux()
124 .addReg(MBBI->getOperand(1).getReg(), getRegState(MBBI->getOperand(1))); in selectSELRMux()
125 MBBI->getOperand(1).setReg(DestReg); in selectSELRMux()
129 BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux()
131 .addReg(MBBI->getOperand(2).getReg(), getRegState(MBBI->getOperand(2))); in selectSELRMux()
132 MBBI->getOperand(2).setReg(DestReg); in selectSELRMux()
140 TII->commuteInstruction(*MBBI, false, 1, 2); in selectSELRMux()
146 MBBI->setDesc(TII->get(LowOpcode)); in selectSELRMux()
148 MBBI->setDesc(TII->get(HighOpcode)); in selectSELRMux()
151 expandCondMove(MBB, MBBI, NextMBBI); in selectSELRMux()
158 MachineBasicBlock::iterator MBBI, in expandCondMove() argument
162 MachineInstr &MI = *MBBI; in expandCondMove()
173 for (auto I = std::prev(MBB.end()); I != MBBI; --I) in expandCondMove()
213 MachineBasicBlock::iterator MBBI, in selectMI() argument
215 MachineInstr &MI = *MBBI; in selectMI()
238 selectLOCRMux(MBB, MBBI, NextMBBI, SystemZ::LOCR, SystemZ::LOCFHR); in selectMI()
241 selectSELRMux(MBB, MBBI, NextMBBI, SystemZ::SELR, SystemZ::SELFHR); in selectMI()
253 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in selectMBB() local
254 while (MBBI != E) { in selectMBB()
255 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in selectMBB()
256 Modified |= selectMI(MBB, MBBI, NMBBI); in selectMBB()
257 MBBI = NMBBI; in selectMBB()