Home
last modified time | relevance | path

Searched refs:ICMP_SLT (Results 1 – 25 of 116) sorted by relevance

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp32 case ICmpInst::ICMP_SLT: return 4; // 100 in getICmpCode()
51 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getPredForICmpCode()
78 case ICmpInst::ICMP_SLT: in decomposeBitTestICmp()
DInstructionSimplify.cpp1020 if (isICmpTrue(CmpInst::ICMP_SLT, Y, NegDividendC, Q, MaxRecurse) || in isDivZero()
1037 isICmpTrue(CmpInst::ICMP_SLT, X, PosDivisorC, Q, MaxRecurse)) in isDivZero()
1541 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands()
1676 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in simplifyAndOfICmpsWithAdd()
2542 case CmpInst::ICMP_SLT: // X <s 0 -> X in simplifyICmpOfBools()
2563 case CmpInst::ICMP_SLT: // X <s -1 -> false in simplifyICmpOfBools()
2625 case ICmpInst::ICMP_SLT: { in simplifyICmpWithZero()
2674 if (Pred == ICmpInst::ICMP_SLT && match(RHS, m_Zero())) in simplifyICmpWithConstant()
2789 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in simplifyICmpWithBinOp()
2793 return Pred == ICmpInst::ICMP_SLT ? getTrue(ITy) : getFalse(ITy); in simplifyICmpWithBinOp()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp55 case ICmpInst::ICMP_SLT: return 4; // 100 in getICmpCode()
81 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
DSimplifyIndVar.cpp289 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
299 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp317 FCmp32Libcalls[CmpInst::FCMP_OLT] = {{RTLIB::OLT_F32, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
322 FCmp32Libcalls[CmpInst::FCMP_ULT] = {{RTLIB::OGE_F32, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
326 {RTLIB::OLT_F32, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
335 FCmp64Libcalls[CmpInst::FCMP_OLT] = {{RTLIB::OLT_F64, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
340 FCmp64Libcalls[CmpInst::FCMP_ULT] = {{RTLIB::OGE_F64, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
344 {RTLIB::OLT_F64, CmpInst::ICMP_SLT}}; in setFCmpLibcallsGNU()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp84 if (Pred == ICmpInst::ICMP_SLT) { in isSignTest()
1133 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in foldICmpAddOpConst()
1145 return new ICmpInst(ICmpInst::ICMP_SLT, X, in foldICmpAddOpConst()
1387 : ICmpInst::ICMP_SLT, in foldSignBitTest()
1536 if (Pred == ICmpInst::ICMP_SLT && match(X, m_Signum(m_Value(V)))) in foldICmpTruncConstant()
1537 return new ICmpInst(ICmpInst::ICMP_SLT, V, in foldICmpTruncConstant()
1589 return new ICmpInst(ICmpInst::ICMP_SLT, X, in foldICmpXorConstant()
1742 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst()
1870 : CmpInst::ICMP_SLT; in foldICmpAndConstant()
1885 if (Pred == ICmpInst::ICMP_SLT && match(Or, m_Signum(m_Value(V)))) in foldICmpOrConstant()
[all …]
DInstCombineSelect.cpp553 (Pred != ICmpInst::ICMP_SLT || in foldSelectICmpLshrAshr()
559 if (Pred == ICmpInst::ICMP_SLT) in foldSelectICmpLshrAshr()
614 } else if (IC->getPredicate() == ICmpInst::ICMP_SLT || in foldSelectICmpAndOr()
924 else if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_SLT) in adjustMinMax()
1069 Cmp.getPredicate() == ICmpInst::ICMP_SLT; in canonicalizeAbsNabs()
1083 Cmp.setPredicate(ICmpInst::ICMP_SLT); in canonicalizeAbsNabs()
1269 case ICmpInst::Predicate::ICMP_SLT: in canonicalizeClampLike()
1453 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in foldSelectInstWithICmp()
1796 if (Pred == ICmpInst::ICMP_SLT && IsZeroOrOne(*C) && in foldOverflowingAddSubSelect()
1809 if (Op == X && Pred == ICmpInst::ICMP_SLT && IsZeroOrOne(*C + 1) && in foldOverflowingAddSubSelect()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp132 case ICmpInst::ICMP_SLT: // True if LHS s< 0 in isSignBitCheck()
165 if (Pred == ICmpInst::ICMP_SLT) { in isSignTest()
1169 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1181 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst()
1307 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
1315 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
1323 case ICmpInst::ICMP_SLT: in FoldICmpDivCst()
1548 if (ICI.getPredicate() == ICmpInst::ICMP_SLT && in visitICmpInstWithInstAndIntCst()
1550 return new ICmpInst(ICmpInst::ICMP_SLT, V, in visitICmpInstWithInstAndIntCst()
1576 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp303 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest()
539 case ICmpInst::ICMP_SLT: in decomposeBitTestICmp()
850 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
994 case ICmpInst::ICMP_SLT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps()
1006 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
1039 case ICmpInst::ICMP_SLT: // (X u< 13 & X s< 15) -> no change in FoldAndOfICmps()
1043 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
1049 case ICmpInst::ICMP_SLT: // (X s< 13 & X s< 15) -> X < 13 in FoldAndOfICmps()
1069 case ICmpInst::ICMP_SLT: // (X u> 13 & X s< 15) -> no change in FoldAndOfICmps()
1085 case ICmpInst::ICMP_SLT: // (X s> 13 & X s< 15) -> (X-14) s< 1 in FoldAndOfICmps()
[all …]
DInstCombineSelect.cpp48 return ICmpInst::ICMP_SLT; in getCmpPredicateForMinMax()
432 case ICmpInst::ICMP_SLT: in visitSelectInstWithICmp()
523 } else if (Pred == ICmpInst::ICMP_SLT && Cmp->isNullValue()) { in visitSelectInstWithICmp()
568 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp216 case naclbitc::ICMP_SLT: in DecodeIcmpPredicate()
217 LLVMPredicate = CmpInst::ICMP_SLT; in DecodeIcmpPredicate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp303 case ICmpInst::ICMP_SLT: in INITIALIZE_PASS_DEPENDENCY()
648 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeDecreasingBound()
698 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeIncreasingBound()
717 IsSigned ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in isSafeIncreasingBound()
885 Pred = ICmpInst::ICMP_SLT; in parseLoopStructure()
907 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
963 Pred = ICmpInst::ICMP_SLT; in parseLoopStructure()
970 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
982 Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGT; in parseLoopStructure()
1114 IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateSubRanges()
[all …]
DEarlyCSE.cpp171 Pred == ICmpInst::ICMP_SLT && match(A, m_Neg(m_Specific(B)))) { in matchSelectWithOptionalNotCond()
177 Pred == ICmpInst::ICMP_SLT && match(B, m_Neg(m_Specific(A)))) { in matchSelectWithOptionalNotCond()
196 case CmpInst::ICMP_SLT: Flavor = SPF_SMIN; break; in matchSelectWithOptionalNotCond()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h297 ICMP_SLT = 40, ///< signed less than enumerator
/external/llvm/lib/IR/
DConstantFold.cpp1448 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1585 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1641 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1659 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1755 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction()
1907 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction()
1909 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1927 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1937 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
1944 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp3445 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
3446 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
3474 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3477 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3490 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3513 case ICmpInst::ICMP_SLT: in makeConstantRange()
3564 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate()
3565 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate()
3596 return CmpInst::ICMP_SLT; in getSignedPredicate()
3617 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1577 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1718 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1774 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1792 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1893 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction()
2051 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction()
2053 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2071 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2081 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
2088 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp3540 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
3541 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
3586 case ICmpInst::ICMP_SLT: return "slt"; in getPredicateName()
3599 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3602 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3615 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3625 case ICMP_SLT: return ICMP_SLE; in getFlippedStrictnessPredicate()
3627 case ICMP_SLE: return ICMP_SLT; in getFlippedStrictnessPredicate()
3649 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate()
3650 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp559 return ICMP_SLT(src, VIMMED1(0)); in MASK()
565 return ICMP_SLT(src, VIMMED1_16(0)); in MASK_16()
747 Value* cmp = ICMP_SLT(a, b); in PMINSD()
793 Value* lowCmp = ICMP_SLT(src, low); in ICLAMP()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1539 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
2217 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2254 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2525 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2576 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2588 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp, in SimplifyICmpInst()
2688 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in SimplifyICmpInst()
2696 return Pred == ICmpInst::ICMP_SLT ? getTrue(ITy) : getFalse(ITy); in SimplifyICmpInst()
2698 return Pred == ICmpInst::ICMP_SLT ? getFalse(ITy) : getTrue(ITy); in SimplifyICmpInst()
2744 if (Pred == ICmpInst::ICMP_SLT) in SimplifyICmpInst()
[all …]
DBranchProbabilityInfo.cpp437 case CmpInst::ICMP_SLT: in calcZeroHeuristics()
448 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp768 P = CmpInst::ICMP_SLT; in createMinMaxOp()
1014 SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SLT, S, Zero); in isKnownNegativeInLoop()
1040 auto Predicate = Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in cannotBeMaxInLoop()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp109 ICMP_SLT = 40, ///< signed less than enumerator
124 case ICMP_SLT: return (S)Arg1 < (S)Arg2; in ComputeCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()

12345