Lines Matching refs:RHSCC
582 ICmpInst::Predicate &RHSCC) { in foldLogOpOfMaskedICmpsHelper() argument
628 if (decomposeBitTestICmp(RHS, RHSCC, R11, R12, R2)) { in foldLogOpOfMaskedICmpsHelper()
653 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper()
685 unsigned RightType = getTypeOfMaskedICmp(A, D, E, RHSCC); in foldLogOpOfMaskedICmpsHelper()
694 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps() local
696 LHSCC, RHSCC); in foldLogOpOfMaskedICmps()
698 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()
796 if (RHSCC != NewCC) in foldLogOpOfMaskedICmps()
869 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps() local
872 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldAndOfICmps()
903 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldAndOfICmps()
917 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC && in FoldAndOfICmps()
955 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
957 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
961 if (!PredicatesFoldable(LHSCC, RHSCC)) in FoldAndOfICmps()
968 CmpInst::isSigned(RHSCC))) in FoldAndOfICmps()
976 std::swap(LHSCC, RHSCC); in FoldAndOfICmps()
990 switch (RHSCC) { in FoldAndOfICmps()
998 switch (RHSCC) { in FoldAndOfICmps()
1029 switch (RHSCC) { in FoldAndOfICmps()
1044 switch (RHSCC) { in FoldAndOfICmps()
1056 switch (RHSCC) { in FoldAndOfICmps()
1074 switch (RHSCC) { in FoldAndOfICmps()
1681 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps() local
1732 LHSCC == RHSCC && LHSCst && RHSCst && LHS->hasOneUse() && in FoldOrOfICmps()
1776 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldOrOfICmps()
1801 if (RHSCC == ICmpInst::ICMP_ULT && Val == RHS->getOperand(1)) in FoldOrOfICmps()
1803 else if (RHSCC == ICmpInst::ICMP_UGT && Val == Val2) in FoldOrOfICmps()
1808 else if (RHSCC == ICmpInst::ICMP_EQ && RHSCst && RHSCst->isZero()) { in FoldOrOfICmps()
1832 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldOrOfICmps()
1842 if (LHSCC == ICmpInst::ICMP_ULT && RHSCC == ICmpInst::ICMP_EQ) { in FoldOrOfICmps()
1855 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1857 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
1861 if (!PredicatesFoldable(LHSCC, RHSCC)) in FoldOrOfICmps()
1868 CmpInst::isSigned(RHSCC))) in FoldOrOfICmps()
1876 std::swap(LHSCC, RHSCC); in FoldOrOfICmps()
1890 switch (RHSCC) { in FoldOrOfICmps()
1925 switch (RHSCC) { in FoldOrOfICmps()
1937 switch (RHSCC) { in FoldOrOfICmps()
1957 switch (RHSCC) { in FoldOrOfICmps()
1977 switch (RHSCC) { in FoldOrOfICmps()
1992 switch (RHSCC) { in FoldOrOfICmps()