Lines Matching defs:SecondMI

70                            const MachineInstr &SecondMI,
73 const MachineOperand &Op2 = SecondMI.getOperand(SecondMIOpIndex);
93 // Return true if the FirstMI meets the constraints of SecondMI according to
97 const MachineInstr &SecondMI) {
105 const MachineOperand &RA = SecondMI.getOperand(1);
114 const MachineOperand &RT = SecondMI.getOperand(0);
122 if (!matchingRegOps(SecondMI, 0, SecondMI, 2) ||
137 const MachineOperand &D = SecondMI.getOperand(1);
143 if (SecondMI.getOpcode() == PPC::LD)
171 const MachineOperand &BT = SecondMI.getOperand(0);
174 if (SecondMI.getOpcode() == PPC::CMPDI &&
175 matchingImmOps(SecondMI, 2, -1, 16))
177 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1);
182 const MachineOperand &BT = SecondMI.getOperand(0);
185 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1) ||
186 matchingImmOps(SecondMI, 2, -1, 16);
206 const MachineOperand &SI = SecondMI.getOperand(2);
231 /// Check if the instr pair, FirstMI and SecondMI, should be fused together.
232 /// Given SecondMI, when FirstMI is unspecified, then check if SecondMI may be
237 const MachineInstr &SecondMI) {
256 // Only when the SecondMI is fusable, we are starting to look for the
258 if (Feature.hasOp2(SecondMI.getOpcode())) {
259 // If FirstMI == nullptr, that means, we're only checking whether SecondMI
264 // Checking if the FirstMI is fusable with the SecondMI.
271 // SecondMI if the DepOpIdx is set. Otherwise, ignore it.
272 if (!matchingRegOps(*FirstMI, 0, SecondMI, *DepOpIdx))
277 if (checkOpConstraints(Feature.getKind(), *FirstMI, SecondMI))