Home
last modified time | relevance | path

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

12345678

/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()
/external/llvm-project/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()
/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()
/external/llvm-project/llvm/unittests/Analysis/
DValueLatticeTest.cpp113 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV1)->isZeroValue()); in TEST_F()
119 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue()); in TEST_F()
129 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SLT, I1Ty, LV3), nullptr); in TEST_F()
139 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SLT, I1Ty, LV4), nullptr); in TEST_F()
179 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2))); in TEST_F()
DLoopInfoTest.cpp282 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
341 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
400 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
459 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
518 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
578 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
635 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
933 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
993 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
1045 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
[all …]
/external/llvm-project/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/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/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp85 if (Pred == ICmpInst::ICMP_SLT) { in isSignTest()
1135 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in foldICmpAddOpConst()
1147 return new ICmpInst(ICmpInst::ICMP_SLT, X, in foldICmpAddOpConst()
1390 : ICmpInst::ICMP_SLT, in foldSignBitTest()
1560 if (Pred == ICmpInst::ICMP_SLT && match(X, m_Signum(m_Value(V)))) in foldICmpTruncConstant()
1561 return new ICmpInst(ICmpInst::ICMP_SLT, V, in foldICmpTruncConstant()
1610 return new ICmpInst(ICmpInst::ICMP_SLT, X, in foldICmpXorConstant()
1764 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst()
1892 : CmpInst::ICMP_SLT; in foldICmpAndConstant()
1908 if (Pred == ICmpInst::ICMP_SLT && match(Or, m_Signum(m_Value(V)))) in foldICmpOrConstant()
[all …]
DInstCombineSelect.cpp533 (Pred != ICmpInst::ICMP_SLT || in foldSelectICmpLshrAshr()
539 if (Pred == ICmpInst::ICMP_SLT) in foldSelectICmpLshrAshr()
594 } else if (IC->getPredicate() == ICmpInst::ICMP_SLT || in foldSelectICmpAndOr()
938 else if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_SLT) in adjustMinMax()
1083 Cmp.getPredicate() == ICmpInst::ICMP_SLT; in canonicalizeAbsNabs()
1098 Cmp.setPredicate(ICmpInst::ICMP_SLT); in canonicalizeAbsNabs()
1320 case ICmpInst::Predicate::ICMP_SLT: in canonicalizeClampLike()
1505 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in foldSelectInstWithICmp()
1848 if (Pred == ICmpInst::ICMP_SLT && IsZeroOrOne(*C) && in foldOverflowingAddSubSelect()
1861 if (Op == X && Pred == ICmpInst::ICMP_SLT && IsZeroOrOne(*C + 1) && in foldOverflowingAddSubSelect()
[all …]
/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 …]
/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 …]
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAdjustOpt.cpp198 if (Cond2Op != ICmpInst::ICMP_SLT && Cond1Op != ICmpInst::ICMP_SLE) in serializeICMPCrossBB()
200 } else if (Cond1Op == ICmpInst::ICMP_SLT || Cond1Op == ICmpInst::ICMP_SLE) { in serializeICMPCrossBB()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp321 case ICmpInst::ICMP_SLT: in INITIALIZE_PASS_DEPENDENCY()
664 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeDecreasingBound()
714 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeIncreasingBound()
733 IsSigned ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in isSafeIncreasingBound()
897 Pred = ICmpInst::ICMP_SLT; in parseLoopStructure()
919 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
974 Pred = ICmpInst::ICMP_SLT; in parseLoopStructure()
981 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
993 Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGT; in parseLoopStructure()
1129 IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateSubRanges()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h297 ICMP_SLT = 40, ///< signed less than enumerator
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerLowering.cpp450 case CmpInst::ICMP_SLT: in tryAdjustICmpImmAndPred()
461 P = (P == CmpInst::ICMP_SLT) ? CmpInst::ICMP_SLE : CmpInst::ICMP_SGT; in tryAdjustICmpImmAndPred()
488 P = (P == CmpInst::ICMP_SLE) ? CmpInst::ICMP_SLT : CmpInst::ICMP_SGE; in tryAdjustICmpImmAndPred()
/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/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()
/external/llvm-project/llvm/lib/IR/
DConstantFold.cpp1698 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1845 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1901 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1919 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
2023 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction()
2195 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction()
2197 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2215 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2225 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
2232 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp412 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 0)) in TEST_F()
415 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 0)) in TEST_F()
418 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 0)) in TEST_F()
422 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 1)) in TEST_F()
425 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 1)) in TEST_F()
428 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, 1)) in TEST_F()
432 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, -1)) in TEST_F()
435 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, -1)) in TEST_F()
438 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLT, APInt(BitWidth, -1)) in TEST_F()
/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()

12345678