Home
last modified time | relevance | path

Searched refs:ICMP_SGE (Results 1 – 25 of 159) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp30 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode()
50 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getPredForICmpCode()
99 case ICmpInst::ICMP_SGE: in decomposeBitTestICmp()
DInstructionSimplify.cpp1567 (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) || in simplifyOrOfICmpsWithSameOperands()
1749 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd()
2567 case CmpInst::ICMP_SGE: // X >=s -1 -> true in simplifyICmpOfBools()
2581 case ICmpInst::ICMP_SGE: in simplifyICmpOfBools()
2642 case ICmpInst::ICMP_SGE: { in simplifyICmpWithZero()
2789 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in simplifyICmpWithBinOp()
2837 if (Pred == ICmpInst::ICMP_SGE) in simplifyICmpWithBinOp()
2859 case ICmpInst::ICMP_SGE: { in simplifyICmpWithBinOp()
2889 case ICmpInst::ICMP_SGE: { in simplifyICmpWithBinOp()
3031 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in simplifyICmpWithMinMax()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DCmpInstAnalysis.cpp30 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode()
50 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getPredForICmpCode()
99 case ICmpInst::ICMP_SGE: in decomposeBitTestICmp()
DInstructionSimplify.cpp1561 (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) || in simplifyOrOfICmpsWithSameOperands()
1806 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd()
2626 case CmpInst::ICMP_SGE: // X >=s -1 -> true in simplifyICmpOfBools()
2640 case ICmpInst::ICMP_SGE: in simplifyICmpOfBools()
2701 case ICmpInst::ICMP_SGE: { in simplifyICmpWithZero()
2784 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in simplifyICmpWithBinOpOnLHS()
2808 case ICmpInst::ICMP_SGE: { in simplifyICmpWithBinOpOnLHS()
2983 if (Pred == ICmpInst::ICMP_SGE || Pred == ICmpInst::ICMP_EQ) in simplifyICmpWithBinOp()
3089 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in simplifyICmpWithMinMax()
3096 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in simplifyICmpWithMinMax()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp53 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode()
80 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
/external/llvm-project/llvm/unittests/Analysis/
DValueLatticeTest.cpp110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F()
123 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2)->isZeroValue()); in TEST_F()
133 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SGE, I1Ty, LV3), nullptr); in TEST_F()
143 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SGE, I1Ty, LV4), nullptr); in TEST_F()
183 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2))); in TEST_F()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp213 case naclbitc::ICMP_SGE: in DecodeIcmpPredicate()
214 LLVMPredicate = CmpInst::ICMP_SGE; in DecodeIcmpPredicate()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAdjustOpt.cpp197 if (Cond1Op == ICmpInst::ICMP_SGT || Cond1Op == ICmpInst::ICMP_SGE) { in serializeICMPCrossBB()
201 if (Cond2Op != ICmpInst::ICMP_SGT && Cond1Op != ICmpInst::ICMP_SGE) in serializeICMPCrossBB()
/external/llvm-project/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp314 FCmp32Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
319 FCmp32Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
332 FCmp64Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
337 FCmp64Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp314 FCmp32Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
319 FCmp32Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
332 FCmp64Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
337 FCmp64Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp171 Pred = ICmpInst::ICMP_SGE; in isSignTest()
1179 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst()
1304 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
1318 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
1337 return new ICmpInst(ICmpInst::ICMP_SGE, X, HiBound); in FoldICmpDivCst()
1866 ? ICmpInst::ICMP_SGE in visitICmpInstWithInstAndIntCst()
1974 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in visitICmpInstWithInstAndIntCst()
2165 return new ICmpInst(ICmpInst::ICMP_SGE, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
2310 ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in visitICmpInstWithInstAndIntCst()
3101 if (Pred != ICmpInst::ICMP_SLE && Pred != ICmpInst::ICMP_SGE && in canonicalizeCmpWithConstant()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h296 ICMP_SGE = 39, ///< signed greater or equal enumerator
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp91 Pred = ICmpInst::ICMP_SGE; in isSignTest()
1146 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in foldICmpAddOpConst()
1389 Pred == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_SGE in foldSignBitTest()
1764 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst()
1891 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant()
2054 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in foldICmpShlOne()
2490 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
2507 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
2529 return new ICmpInst(ICmpInst::ICMP_SGE, X, in foldICmpDivConstant()
2566 return new ICmpInst(ICmpInst::ICMP_SGE, X, Y); in foldICmpSubConstant()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp90 Pred = ICmpInst::ICMP_SGE; in isSignTest()
1144 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in foldICmpAddOpConst()
1386 Pred == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_SGE in foldSignBitTest()
1742 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst()
1869 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant()
2012 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in foldICmpShlOne()
2447 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
2464 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
2486 return new ICmpInst(ICmpInst::ICMP_SGE, X, in foldICmpDivConstant()
2523 return new ICmpInst(ICmpInst::ICMP_SGE, X, Y); in foldICmpSubConstant()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h149 case CmpInst::ICMP_SGE: in isCanonicalPredicate()
175 case ICmpInst::ICMP_SGE: // True if LHS s>= 0 in isSignBitCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3540 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
3541 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
3585 case ICmpInst::ICMP_SGE: return "sge"; in getPredicateName()
3599 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3603 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3616 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3624 case ICMP_SGT: return ICMP_SGE; in getFlippedStrictnessPredicate()
3626 case ICMP_SGE: return ICMP_SGT; in getFlippedStrictnessPredicate()
3651 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3652 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
[all …]
DConstantFold.cpp1693 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1896 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction()
2055 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2069 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2087 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2089 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp373 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0)) in TEST_F()
376 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0)) in TEST_F()
379 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0)) in TEST_F()
383 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1)) in TEST_F()
386 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1)) in TEST_F()
389 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1)) in TEST_F()
393 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1)) in TEST_F()
396 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1)) in TEST_F()
399 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1)) in TEST_F()
/external/llvm-project/llvm/lib/IR/
DInstructions.cpp3657 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
3658 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
3702 case ICmpInst::ICMP_SGE: return "sge"; in getPredicateName()
3716 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3720 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3733 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3745 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3746 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3770 case ICMP_SGE: in isNonStrictPredicate()
3802 case ICMP_SGE: in getStrictPredicate()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp611 auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI); in hasPositiveOperands()
705 if (LVI->getPredicateAt(ICmpInst::ICMP_SGE, SDI->getOperand(0), Zero, SDI) != in processAShr()
727 if (LVI->getPredicateAt(ICmpInst::ICMP_SGE, Base, Zero, SDI) != in processSExt()
/external/llvm/lib/IR/
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()
3478 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3491 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3549 case ICmpInst::ICMP_SGE: in makeConstantRange()
3566 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3567 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3602 return CmpInst::ICMP_SGE; in getSignedPredicate()
3618 case ICmpInst::ICMP_SGE: return true; in isSigned()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1713 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2205 case ICmpInst::ICMP_SGE: { in SimplifyICmpInst()
2271 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2520 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2572 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2597 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp, in SimplifyICmpInst()
2688 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in SimplifyICmpInst()
2746 if (Pred == ICmpInst::ICMP_SGE) in SimplifyICmpInst()
2769 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2800 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Ddynamic_update_slice_util.cc118 b->CreateSelect(b->CreateICmp(is_signed ? llvm::ICmpInst::ICMP_SGE in EmitDynamicUpdateSliceInPlaceImpl()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerLowering.cpp451 case CmpInst::ICMP_SGE: in tryAdjustICmpImmAndPred()
488 P = (P == CmpInst::ICMP_SLE) ? CmpInst::ICMP_SLT : CmpInst::ICMP_SGE; in tryAdjustICmpImmAndPred()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp108 ICMP_SGE = 39, ///< signed greater or equal enumerator
123 case ICMP_SGE: return (S)Arg1 >= (S)Arg2; in ComputeCmp()

1234567