Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ICMP_SGT

85   case ICmpInst::ICMP_SGT:   // True if LHS s> -1
118 if (Pred == ICmpInst::ICMP_SGT) {
1115 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI));
1124 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE);
1323 if (match(Cmp.getOperand(1), m_Zero()) && Pred == ICmpInst::ICMP_SGT) {
1477 return new ICmpInst(ICmpInst::ICMP_SGT, X,
1845 if (Pred == ICmpInst::ICMP_SGT)
1855 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE)
1891 if (Pred == ICmpInst::ICMP_SGT) {
2019 if (Pred == CmpInst::ICMP_SLT || (Pred == CmpInst::ICMP_SGT && IsExact)) {
2026 if (Pred == CmpInst::ICMP_SGT) {
2262 case ICmpInst::ICMP_SGT:
2291 if (Pred == ICmpInst::ICMP_SGT && C.isAllOnesValue())
2295 if (Pred == ICmpInst::ICMP_SGT && C.isNullValue())
2296 return new ICmpInst(ICmpInst::ICMP_SGT, X, Y);
2343 (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLT)) {
2453 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SGT, OrigLHS, OrigRHS));
2917 case ICmpInst::Predicate::ICMP_SGT:
2921 DstPred = ICmpInst::Predicate::ICMP_SGT;
2941 DstPred = ICmpInst::Predicate::ICMP_SGT;
3115 return new ICmpInst(CmpInst::ICMP_SGT, A, Op1);
3122 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGT && match(B, m_One()))
3126 if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_SGT &&
3137 return new ICmpInst(CmpInst::ICMP_SGT, Op0, C);
3264 case ICmpInst::ICMP_SGT:
3266 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1),
3402 return new ICmpInst(ICmpInst::ICMP_SGT, X, Y);
3418 if (Pred == CmpInst::ICMP_NE || Pred == CmpInst::ICMP_SGT)
4414 case ICmpInst::ICMP_SGT: {
4557 case CmpInst::ICMP_SGT: // A >s -1 -> !A
4583 case ICmpInst::ICMP_SGT:
4697 return new ICmpInst(ICmpInst::ICMP_SGT, Op0, AllOnes);
4735 Pred == ICmpInst::ICMP_NE || Pred == ICmpInst::ICMP_SGT) &&
4744 if (Pred == ICmpInst::ICMP_SGT && match(Op1, m_AllOnes()))
4960 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT;
5022 if (Pred == ICmpInst::ICMP_NE || Pred == ICmpInst::ICMP_SGT ||
5092 case ICmpInst::ICMP_SGT:
5109 Pred = ICmpInst::ICMP_SGT;