Lines Matching refs:RHSCC

594                                              ICmpInst::Predicate &RHSCC) {  in foldLogOpOfMaskedICmpsHelper()  argument
640 if (decomposeBitTestICmp(RHS, RHSCC, R11, R12, R2)) { in foldLogOpOfMaskedICmpsHelper()
665 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper()
697 unsigned right_type = getTypeOfMaskedICmp(A, D, E, RHSCC); in foldLogOpOfMaskedICmpsHelper()
706 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps() local
708 LHSCC, RHSCC); in foldLogOpOfMaskedICmps()
710 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()
808 if (RHSCC != NEWCC) in foldLogOpOfMaskedICmps()
881 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps() local
884 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldAndOfICmps()
915 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldAndOfICmps()
934 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC && in FoldAndOfICmps()
972 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
974 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
982 ConstantRange::makeAllowedICmpRegion(RHSCC, RHSCst->getValue()); in FoldAndOfICmps()
988 if (!PredicatesFoldable(LHSCC, RHSCC)) in FoldAndOfICmps()
995 CmpInst::isSigned(RHSCC))) in FoldAndOfICmps()
1003 std::swap(LHSCC, RHSCC); in FoldAndOfICmps()
1017 switch (RHSCC) { in FoldAndOfICmps()
1025 switch (RHSCC) { in FoldAndOfICmps()
1056 switch (RHSCC) { in FoldAndOfICmps()
1071 switch (RHSCC) { in FoldAndOfICmps()
1083 switch (RHSCC) { in FoldAndOfICmps()
1101 switch (RHSCC) { in FoldAndOfICmps()
1782 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps() local
1833 LHSCC == RHSCC && LHSCst && RHSCst && LHS->hasOneUse() && in FoldOrOfICmps()
1877 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldOrOfICmps()
1902 if (RHSCC == ICmpInst::ICMP_ULT && Val == RHS->getOperand(1)) in FoldOrOfICmps()
1904 else if (RHSCC == ICmpInst::ICMP_UGT && Val == Val2) in FoldOrOfICmps()
1909 else if (RHSCC == ICmpInst::ICMP_EQ && RHSCst && RHSCst->isZero()) { in FoldOrOfICmps()
1933 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldOrOfICmps()
1943 if (LHSCC == ICmpInst::ICMP_ULT && RHSCC == ICmpInst::ICMP_EQ) { in FoldOrOfICmps()
1956 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1958 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
1962 if (!PredicatesFoldable(LHSCC, RHSCC)) in FoldOrOfICmps()
1969 CmpInst::isSigned(RHSCC))) in FoldOrOfICmps()
1977 std::swap(LHSCC, RHSCC); in FoldOrOfICmps()
1991 switch (RHSCC) { in FoldOrOfICmps()
2026 switch (RHSCC) { in FoldOrOfICmps()
2038 switch (RHSCC) { in FoldOrOfICmps()
2058 switch (RHSCC) { in FoldOrOfICmps()
2078 switch (RHSCC) { in FoldOrOfICmps()
2093 switch (RHSCC) { in FoldOrOfICmps()