Lines Matching refs:CmpLHS
6137 Register CmpLHS, CmpRHS; in matchFPSelectToMinMax() local
6140 m_GFCmp(m_Pred(Pred), m_Reg(CmpLHS), m_Reg(CmpRHS)))) || in matchFPSelectToMinMax()
6144 computeRetValAgainstNaN(CmpLHS, CmpRHS, CmpInst::isOrdered(Pred)); in matchFPSelectToMinMax()
6147 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchFPSelectToMinMax()
6148 std::swap(CmpLHS, CmpRHS); in matchFPSelectToMinMax()
6155 if (TrueVal != CmpLHS || FalseVal != CmpRHS) in matchFPSelectToMinMax()
6167 auto KnownNonZeroSide = getFConstantVRegValWithLookThrough(CmpLHS, MRI); in matchFPSelectToMinMax()
6175 B.buildInstr(Opc, {Dst}, {CmpLHS, CmpRHS}); in matchFPSelectToMinMax()
6582 Register CmpLHS = Cmp->getLHSReg(); in tryFoldSelectToIntMinMax() local
6586 if (True == CmpRHS && False == CmpLHS) { in tryFoldSelectToIntMinMax()
6587 std::swap(CmpLHS, CmpRHS); in tryFoldSelectToIntMinMax()
6594 if (True == CmpLHS && False == CmpRHS) { in tryFoldSelectToIntMinMax()