Lines Matching refs:FirstMI
22 static bool isAESPair(const MachineInstr *FirstMI,
28 return FirstMI == nullptr || FirstMI->getOpcode() == ARM::AESE;
31 return FirstMI == nullptr || FirstMI->getOpcode() == ARM::AESD;
38 static bool isLiteralsPair(const MachineInstr *FirstMI,
41 if ((FirstMI == nullptr || FirstMI->getOpcode() == ARM::MOVi16) &&
48 /// Check if the instr pair, FirstMI and SecondMI, should be fused
49 /// together. Given SecondMI, when FirstMI is unspecified, then check if
53 const MachineInstr *FirstMI,
57 if (ST.hasFuseAES() && isAESPair(FirstMI, SecondMI))
59 if (ST.hasFuseLiterals() && isLiteralsPair(FirstMI, SecondMI))