Home
last modified time | relevance | path

Searched refs:ICMP_SGT (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp50 case ICmpInst::ICMP_SGT: return 1; // 001 in getICmpCode()
78 case 1: NewICmpPred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getICmpValue()
DLoopUtils.cpp587 P = CmpInst::ICMP_SGT; in createMinMaxOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp129 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 …]
DInstCombineAndOrXor.cpp331 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 …]
DInstCombineSelect.cpp52 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()
DInstCombineCasts.cpp594 (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/
DConstantFold.cpp1439 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 …]
DInstructions.cpp3369 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 …]
DConstantRange.cpp99 case CmpInst::ICMP_SGT: { in makeAllowedICmpRegion()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1533 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 …]
DBranchProbabilityInfo.cpp428 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
449 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
DDependenceAnalysis.cpp981 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 …]
DScalarEvolution.cpp1160 *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 …]
DValueTracking.cpp567 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/
DFuzzerTraceState.cpp108 ICMP_SGT = 38, ///< signed greater than enumerator
123 case ICMP_SGT: return (S)Arg1 > (S)Arg2; in ComputeCmp()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp302 case ICmpInst::ICMP_SGT: in parseRangeCheckICmp()
780 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 0); in parseLoopStructure()
801 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 1) || in parseLoopStructure()
DFloat2Int.cpp101 return CmpInst::ICMP_SGT; in INITIALIZE_PASS_DEPENDENCY()
DIndVarSimplify.cpp351 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/
DConstantRangeTest.cpp516 EXPECT_TRUE(ConstantRange::makeAllowedICmpRegion(ICmpInst::ICMP_SGT, SMax) in TEST()
564 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SGT, SignedSample), in TEST()
DInstructionsTest.cpp314 ICmpInst *ICmp0 = new ICmpInst(ICmpInst::ICMP_SGT, PtrVecA, PtrVecB); in TEST()
/external/llvm/lib/CodeGen/
DAnalysis.cpp210 case ICmpInst::ICMP_SGT: return ISD::SETGT; in getICmpCondCode()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp890 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/
DInstrTypes.h909 ICMP_SGT = 38, ///< signed greater than
DPatternMatch.h987 return Pred == CmpInst::ICMP_SGT || Pred == CmpInst::ICMP_SGE; in match()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp291 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()

12