Lines Matching refs:AArch64CC
93 typedef std::tuple<int, int, AArch64CC::CondCode> CmpInfo;
99 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
101 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To,
204 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp()
206 case AArch64CC::GT: return AArch64CC::GE; in getAdjustedCmp()
207 case AArch64CC::GE: return AArch64CC::GT; in getAdjustedCmp()
208 case AArch64CC::LT: return AArch64CC::LE; in getAdjustedCmp()
209 case AArch64CC::LE: return AArch64CC::LT; in getAdjustedCmp()
218 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp()
225 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp()
249 AArch64CC::CondCode Cmp; in modifyCmp()
280 static bool parseCond(ArrayRef<MachineOperand> Cond, AArch64CC::CondCode &CC) { in parseCond()
284 CC = (AArch64CC::CondCode)(int)Cond[0].getImm(); in parseCond()
294 AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) in adjustTo()
347 AArch64CC::CondCode HeadCmp; in runOnMachineFunction()
352 AArch64CC::CondCode TrueCmp; in runOnMachineFunction()
362 << AArch64CC::getCondCodeName(HeadCmp) << '\n'); in runOnMachineFunction()
367 << AArch64CC::getCondCodeName(TrueCmp) << '\n'); in runOnMachineFunction()
370 if (((HeadCmp == AArch64CC::GT && TrueCmp == AArch64CC::LT) || in runOnMachineFunction()
371 (HeadCmp == AArch64CC::LT && TrueCmp == AArch64CC::GT)) && in runOnMachineFunction()
391 } else if (((HeadCmp == AArch64CC::GT && TrueCmp == AArch64CC::GT) || in runOnMachineFunction()
392 (HeadCmp == AArch64CC::LT && TrueCmp == AArch64CC::LT)) && in runOnMachineFunction()
407 if (HeadCmp == AArch64CC::LT) { in runOnMachineFunction()