/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 50 case ICmpInst::ICMP_SGT: return 1; // 001 in getICmpCode() 78 case 1: NewICmpPred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getICmpValue()
|
D | LoopUtils.cpp | 587 P = CmpInst::ICMP_SGT; in createMinMaxOp()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 129 case ICmpInst::ICMP_SGT: // True if LHS s> -1 in isSignBitCheck() 161 if (pred == ICmpInst::ICMP_SGT) { in isSignTest() 844 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst() 853 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst() 1004 case ICmpInst::ICMP_SGT: in FoldICmpDivCst() 1252 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst() 1264 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst() 1270 return new ICmpInst(ICmpInst::ICMP_SGT, CompareVal, in visitICmpInstWithInstAndIntCst() 1637 if (Pred == ICmpInst::ICMP_SGT) in visitICmpInstWithInstAndIntCst() 1649 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 331 ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in InsertRangeTest() 558 case ICmpInst::ICMP_SGT: in decomposeBitTestICmp() 839 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck() 1039 case ICmpInst::ICMP_SGT: // (X != 13 & X s> 15) -> X s> 15 in FoldAndOfICmps() 1061 case ICmpInst::ICMP_SGT: // (X u< 13 & X s> 15) -> no change in FoldAndOfICmps() 1088 case ICmpInst::ICMP_SGT: // (X u> 13 & X s> 15) -> no change in FoldAndOfICmps() 1100 case ICmpInst::ICMP_SGT: in FoldAndOfICmps() 1104 case ICmpInst::ICMP_SGT: // (X s> 13 & X s> 15) -> X s> 15 in FoldAndOfICmps() 2017 case ICmpInst::ICMP_SGT: // (X == 13 | X s> 14) -> no change in FoldOrOfICmps() 2030 case ICmpInst::ICMP_SGT: // (X != 13 | X s> 15) -> X != 13 in FoldOrOfICmps() [all …]
|
D | InstCombineSelect.cpp | 52 return ICmpInst::ICMP_SGT; in getCmpPredicateForMinMax() 423 case ICmpInst::ICMP_SGT: { in visitSelectInstWithICmp() 430 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_SGT) in visitSelectInstWithICmp() 509 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp() 562 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in visitSelectInstWithICmp()
|
D | InstCombineCasts.cpp | 594 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp() 604 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp() 979 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { in transformSExtICmp() 987 if (Pred == ICmpInst::ICMP_SGT) in transformSExtICmp()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1439 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1547 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1554 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1578 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1625 case 1: return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1634 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1739 case ICmpInst::ICMP_SGT: return ConstantInt::get(ResultTy, V1.sgt(V2)); in ConstantFoldCompareInstruction() 1894 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1906 case ICmpInst::ICMP_SGT: in ConstantFoldCompareInstruction() 1908 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3369 case ICMP_SGT: return ICMP_SLE; in getInversePredicate() 3372 case ICMP_SLE: return ICMP_SGT; in getInversePredicate() 3399 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate() 3401 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate() 3414 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate() 3450 case ICmpInst::ICMP_SGT: in makeConstantRange() 3489 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate() 3490 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate() 3525 return CmpInst::ICMP_SGT; in getSignedPredicate() 3542 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned() [all …]
|
D | ConstantRange.cpp | 99 case CmpInst::ICMP_SGT: { in makeAllowedICmpRegion()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1533 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1535 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1539 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1541 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1700 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps() 2253 case ICmpInst::ICMP_SGT: in SimplifyICmpInst() 2493 case ICmpInst::ICMP_SGT: in SimplifyICmpInst() 2545 case ICmpInst::ICMP_SGT: in SimplifyICmpInst() 2703 if (Pred == ICmpInst::ICMP_SGT) in SimplifyICmpInst() 2715 case ICmpInst::ICMP_SGT: in SimplifyICmpInst() [all …]
|
D | BranchProbabilityInfo.cpp | 428 case CmpInst::ICMP_SGT: in calcZeroHeuristics() 449 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
|
D | DependenceAnalysis.cpp | 981 case CmpInst::ICMP_SGT: in isKnownPredicate() 1108 if (isKnownPredicate(CmpInst::ICMP_SGT, AbsDelta, Product)) { in strongSIVtest() 1288 if (isKnownPredicate(CmpInst::ICMP_SGT, Delta, ML)) { in weakCrossingSIVtest() 1692 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroSrcSIVtest() 1802 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroDstSIVtest() 2017 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1)) { in symbolicRDIVtest() 2040 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1_A2N2)) { in symbolicRDIVtest() 2061 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1_A2N2, C2_C1)) { in symbolicRDIVtest() 2078 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1, C2_C1)) { in symbolicRDIVtest() 2688 if (isKnownPredicate(CmpInst::ICMP_SGT, LowerBound, Delta)) in testBounds() [all …]
|
D | ScalarEvolution.cpp | 1160 *Pred = ICmpInst::ICMP_SGT; in getSignedOverflowLimitForStep() 4009 case ICmpInst::ICMP_SGT: in createNodeForSelectOrPHI() 5511 case ICmpInst::ICMP_SGT: in computeExitLimitFromICmp() 5513 bool IsSigned = Cond == ICmpInst::ICMP_SGT; in computeExitLimitFromICmp() 6905 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 6955 case ICmpInst::ICMP_SGT: in SimplifyICmpOperands() 7014 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 7019 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 7181 case ICmpInst::ICMP_SGT: in isMonotonicPredicateImpl() 7191 Increasing = Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE; in isMonotonicPredicateImpl() [all …]
|
D | ValueTracking.cpp | 567 case ICmpInst::ICMP_SGT: in computeKnownBitsFromTrueCondition() 920 Pred == ICmpInst::ICMP_SGT && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 3938 case ICmpInst::ICMP_SGT: in matchSelectPattern() 3961 if (Pred == ICmpInst::ICMP_SGT && (C1->isZero() || C1->isMinusOne())) { in matchSelectPattern()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 108 ICMP_SGT = 38, ///< signed greater than enumerator 123 case ICMP_SGT: return (S)Arg1 > (S)Arg2; in ComputeCmp()
|
/external/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 302 case ICmpInst::ICMP_SGT: in parseRangeCheckICmp() 780 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 0); in parseLoopStructure() 801 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 1) || in parseLoopStructure()
|
D | Float2Int.cpp | 101 return CmpInst::ICMP_SGT; in INITIALIZE_PASS_DEPENDENCY()
|
D | IndVarSimplify.cpp | 351 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV() 384 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV()
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 516 EXPECT_TRUE(ConstantRange::makeAllowedICmpRegion(ICmpInst::ICMP_SGT, SMax) in TEST() 564 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SGT, SignedSample), in TEST()
|
D | InstructionsTest.cpp | 314 ICmpInst *ICmp0 = new ICmpInst(ICmpInst::ICMP_SGT, PtrVecA, PtrVecB); in TEST()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 210 case ICmpInst::ICMP_SGT: return ISD::SETGT; in getICmpCondCode()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 890 case ICmpInst::ICMP_SGT: Out << "SGT"; break; in printConstant() 1299 case ICmpInst::ICMP_SGT: Out << "ICmpInst::ICMP_SGT"; break; in printInstruction()
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 909 ICMP_SGT = 38, ///< signed greater than
|
D | PatternMatch.h | 987 return Pred == CmpInst::ICMP_SGT || Pred == CmpInst::ICMP_SGE; in match()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 291 case ICmpInst::ICMP_SGT: R = executeICMP_SGT(Src1, Src2, Ty); break; in visitICmpInst() 652 case ICmpInst::ICMP_SGT: return executeICMP_SGT(Src1, Src2, Ty); in executeCmpInst()
|