• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/

Lines Matching refs:CmpLHS

540   Value *CmpLHS = IC->getOperand(0);
561 match(CmpLHS, m_Specific(X))) {
593 Value *CmpLHS = IC->getOperand(0);
605 if (!match(CmpLHS, m_And(m_Value(), m_Power2(C1))))
608 V = CmpLHS;
620 if (!match(CmpLHS, m_OneUse(m_Trunc(m_Value(V)))))
623 C1Log = CmpLHS->getType()->getScalarSizeInBits() - 1;
884 Value *CmpLHS = ICI->getOperand(0);
904 if (!match(Count, m_Intrinsic<Intrinsic::cttz>(m_Specific(CmpLHS))) &&
905 !match(Count, m_Intrinsic<Intrinsic::ctlz>(m_Specific(CmpLHS))))
935 Value *CmpLHS = Cmp.getOperand(0);
962 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) ||
963 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) {
976 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && SextRHS == FalseVal) {
977 CmpLHS = TrueVal;
979 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) &&
981 CmpLHS = FalseVal;
989 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && ZextRHS == FalseVal) {
990 CmpLHS = TrueVal;
992 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) &&
994 CmpLHS = FalseVal;
1010 Cmp.setOperand(0, CmpLHS);
1202 Value *CmpLHS = Cmp.getOperand(0), *CmpRHS = Cmp.getOperand(1);
1203 if (SimplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, Q,
1205 SimplifyWithOpReplaced(FalseVal, CmpRHS, CmpLHS, Q,
1467 Value *CmpLHS = ICI->getOperand(0);
1469 if (CmpRHS != CmpLHS && isa<Constant>(CmpRHS)) {
1470 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) {
1474 } else if (CmpLHS == FalseVal && Pred == ICmpInst::ICMP_NE) {
1492 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) &&
1497 X = CmpLHS;
1502 X = CmpLHS;
2757 Value *CmpLHS = cast<CmpInst>(CondVal)->getOperand(0);
2761 ((CmpLHS != LHS && CmpLHS != RHS) ||