Lines Matching refs:SecondMI
69 const MachineInstr &SecondMI, in matchingRegOps() argument
72 const MachineOperand &Op2 = SecondMI.getOperand(SecondMIOpIndex); in matchingRegOps()
96 const MachineInstr &SecondMI) { in checkOpConstraints() argument
104 const MachineOperand &RA = SecondMI.getOperand(1); in checkOpConstraints()
113 const MachineOperand &RT = SecondMI.getOperand(0); in checkOpConstraints()
121 if (!matchingRegOps(SecondMI, 0, SecondMI, 2) || in checkOpConstraints()
136 const MachineOperand &D = SecondMI.getOperand(1); in checkOpConstraints()
142 if (SecondMI.getOpcode() == PPC::LD) in checkOpConstraints()
170 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()
186 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1) || in checkOpConstraints()
187 matchingImmOps(SecondMI, 2, -1, 16); in checkOpConstraints()
207 const MachineOperand &SI = SecondMI.getOperand(2); in checkOpConstraints()
238 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
259 if (Feature.hasOp2(SecondMI.getOpcode())) { in shouldScheduleAdjacent()
273 if (!matchingRegOps(*FirstMI, 0, SecondMI, *DepOpIdx)) in shouldScheduleAdjacent()
278 if (checkOpConstraints(Feature.getKind(), *FirstMI, SecondMI)) in shouldScheduleAdjacent()