/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 32 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()
|
D | InstructionSimplify.cpp | 1020 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 …]
|
D | ValueTracking.cpp | 881 case ICmpInst::ICMP_SLT: in computeKnownBitsFromAssume() 4727 C1->slt(*C2) && Pred == CmpInst::ICMP_SLT) in matchClamp() 4776 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in matchMinMaxOfMinMax() 4780 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) { in matchMinMaxOfMinMax() 4861 if (Pred != CmpInst::ICMP_SGT && Pred != CmpInst::ICMP_SLT) in matchMinMax() 4889 if (Pred == CmpInst::ICMP_SLT && C1->isNullValue() && in matchMinMax() 5045 case ICmpInst::ICMP_SLT: in matchSelectPattern() 5084 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern() 5102 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern() 5287 if (SPF == SPF_SMIN) return ICmpInst::ICMP_SLT; in getMinMaxPred() [all …]
|
D | BranchProbabilityInfo.cpp | 752 case CmpInst::ICMP_SLT: in calcZeroHeuristics() 763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
|
D | ScalarEvolution.cpp | 1357 *Pred = ICmpInst::ICMP_SLT; in getSignedOverflowLimitForStep() 5357 case ICmpInst::ICMP_SLT: in createNodeForSelectOrPHI() 7485 case ICmpInst::ICMP_SLT: in computeExitLimitFromICmp() 7487 bool IsSigned = Pred == ICmpInst::ICMP_SLT; in computeExitLimitFromICmp() 9070 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 9093 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 9098 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 9308 case ICmpInst::ICMP_SLT: in isMonotonicPredicateImpl() 9321 Increasing = Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE; in isMonotonicPredicateImpl() 9456 case ICmpInst::ICMP_SLT: in isKnownPredicateViaNoOverflow() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 317 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 84 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 …]
|
D | InstCombineSelect.cpp | 553 (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 …]
|
D | InstCombineAndOrXor.cpp | 787 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 1305 case ICmpInst::ICMP_SLT: in foldAndOfICmps() 1350 case ICmpInst::ICMP_SLT: // (X s> 13 & X s< 15) -> (X-14) u< 1 in foldAndOfICmps() 2424 case ICmpInst::ICMP_SLT: in foldOrOfICmps() 2829 (PredL == CmpInst::ICMP_SLT && match(LHS1, m_Zero()) && in foldXorOfICmps() 2830 PredR == CmpInst::ICMP_SLT && match(RHS1, m_Zero()))) { in foldXorOfICmps() 2837 PredR == CmpInst::ICMP_SLT && match(RHS1, m_Zero())) || in foldXorOfICmps() 2838 (PredL == CmpInst::ICMP_SLT && match(LHS1, m_Zero()) && in foldXorOfICmps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 216 case naclbitc::ICMP_SLT: in DecodeIcmpPredicate() 217 LLVMPredicate = CmpInst::ICMP_SLT; in DecodeIcmpPredicate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 303 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 …]
|
D | EarlyCSE.cpp | 171 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()
|
D | Float2Int.cpp | 98 return CmpInst::ICMP_SLT; in mapFCmpPred()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 297 ICMP_SLT = 40, ///< signed less than enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1577 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()
|
D | Instructions.cpp | 3540 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 …]
|
D | ConstantRange.cpp | 98 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion() 167 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_misc.cpp | 561 return ICMP_SLT(src, VIMMED1(0)); in MASK() 567 return ICMP_SLT(src, VIMMED1_16(0)); in MASK_16() 759 Value* cmp = ICMP_SLT(a, b); in PMINSD() 805 Value* lowCmp = ICMP_SLT(src, low); in ICLAMP()
|
D | fetch_jit.cpp | 647 Value* maxNeg = ICMP_SLT(maxVertex, C((int64_t)0)); in JitGatherVertices() 655 Value* minNeg = ICMP_SLT(minVertex, C((int64_t)0)); in JitGatherVertices()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 768 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()
|
D | LowerSwitch.cpp | 312 ICmpInst* Comp = new ICmpInst(ICmpInst::ICMP_SLT, in switchConvert()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 41 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT)); in describeFuzzerIntOps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 268 Pred = CmpInst::ICMP_SLT; in buildNonAtomicBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | Analysis.cpp | 246 case ICmpInst::ICMP_SLT: return ISD::SETLT; in getICmpCondCode()
|