Lines Matching refs:SecondMI
70 const MachineInstr &SecondMI, in matchingRegOps() argument
73 const MachineOperand &Op2 = SecondMI.getOperand(SecondMIOpIndex); in matchingRegOps()
97 const MachineInstr &SecondMI) { in checkOpConstraints() argument
105 const MachineOperand &RA = SecondMI.getOperand(1); in checkOpConstraints()
114 const MachineOperand &RT = SecondMI.getOperand(0); in checkOpConstraints()
122 if (!matchingRegOps(SecondMI, 0, SecondMI, 2) || in checkOpConstraints()
137 const MachineOperand &D = SecondMI.getOperand(1); in checkOpConstraints()
143 if (SecondMI.getOpcode() == PPC::LD) in checkOpConstraints()
171 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints()
174 if (SecondMI.getOpcode() == PPC::CMPDI && in checkOpConstraints()
175 matchingImmOps(SecondMI, 2, -1, 16)) in checkOpConstraints()
177 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1); in checkOpConstraints()
182 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints()
185 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1) || in checkOpConstraints()
186 matchingImmOps(SecondMI, 2, -1, 16); in checkOpConstraints()
206 const MachineOperand &SI = SecondMI.getOperand(2); in checkOpConstraints()
237 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
258 if (Feature.hasOp2(SecondMI.getOpcode())) { in shouldScheduleAdjacent()
272 if (!matchingRegOps(*FirstMI, 0, SecondMI, *DepOpIdx)) in shouldScheduleAdjacent()
277 if (checkOpConstraints(Feature.getKind(), *FirstMI, SecondMI)) in shouldScheduleAdjacent()