/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 31 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode() 51 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue() 100 case ICmpInst::ICMP_SGE: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1471 (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) || in simplifyOrOfICmpsWithSameOperands() 1650 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd() 2366 case CmpInst::ICMP_SGE: // X >=s -1 -> true in simplifyICmpOfBools() 2380 case ICmpInst::ICMP_SGE: in simplifyICmpOfBools() 2441 case ICmpInst::ICMP_SGE: { in simplifyICmpWithZero() 2754 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in simplifyICmpWithBinOp() 2802 if (Pred == ICmpInst::ICMP_SGE) in simplifyICmpWithBinOp() 2824 case ICmpInst::ICMP_SGE: { in simplifyICmpWithBinOp() 2854 case ICmpInst::ICMP_SGE: { in simplifyICmpWithBinOp() 2993 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in simplifyICmpWithMinMax() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 99 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F() 112 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2)->isZeroValue()); in TEST_F() 122 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SGE, I1Ty, LV3), nullptr); in TEST_F() 132 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SGE, I1Ty, LV4), nullptr); in TEST_F() 173 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2))); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 53 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode() 80 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 214 case naclbitc::ICMP_SGE: in DecodeIcmpPredicate() 215 LLVMPredicate = CmpInst::ICMP_SGE; in DecodeIcmpPredicate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 257 FCmp32Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU() 262 FCmp32Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F32, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU() 275 FCmp64Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU() 280 FCmp64Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F64, CmpInst::ICMP_SGE}}; in setFCmpLibcallsGNU()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 119 Pred = ICmpInst::ICMP_SGE; in isSignTest() 1124 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in foldICmpAddOpConst() 1721 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant() 1855 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in foldICmpShlOne() 2231 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant() 2248 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant() 2270 return new ICmpInst(ICmpInst::ICMP_SGE, X, in foldICmpDivConstant() 2292 return new ICmpInst(ICmpInst::ICMP_SGE, X, Y); in foldICmpSubConstant() 2361 return new ICmpInst(ICmpInst::ICMP_SGE, X, ConstantInt::get(Ty, Lower)); in foldICmpAddConstant() 2686 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpBinOpEqualityWithConstant() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 738 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst() 864 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst() 878 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst() 897 return new ICmpInst(ICmpInst::ICMP_SGE, X, HiBound); in FoldICmpDivCst() 1346 return new ICmpInst(ICmpInst::ICMP_SGE, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst() 1465 ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in visitICmpInstWithInstAndIntCst() 1824 case ICmpInst::ICMP_SGE: in visitICmpInst() 1891 case ICmpInst::ICMP_SGE: in visitICmpInst() 2087 case ICmpInst::ICMP_SGE: in visitICmpInst() 2358 case ICmpInst::ICMP_SGE: in visitICmpInst() [all …]
|
D | InstCombineAndOrXor.cpp | 96 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode() 150 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue() 816 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps() 817 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps() 1523 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps() 1524 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
|
D | InstCombineSelect.cpp | 43 case ICmpInst::ICMP_SGE: return SPF_SMAX; in MatchSelectPattern() 59 case ICmpInst::ICMP_SGE: return SPF_SMIN; in MatchSelectPattern()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 171 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/ |
D | NaClLLVMBitCodes.h | 301 ICMP_SGE = 39, ///< signed greater or equal enumerator
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 3257 case ICMP_SLT: return ICMP_SGE; in getInversePredicate() 3258 case ICMP_SGE: return ICMP_SLT; in getInversePredicate() 3302 case ICmpInst::ICMP_SGE: return "sge"; in getPredicateName() 3316 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate() 3320 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate() 3333 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate() 3341 case ICMP_SGT: return ICMP_SGE; in getFlippedStrictnessPredicate() 3343 case ICMP_SGE: return ICMP_SGT; in getFlippedStrictnessPredicate() 3368 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate() 3369 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate() [all …]
|
D | ConstantFold.cpp | 1580 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation() 1783 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction() 1936 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1950 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1968 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1970 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 1528 case ICmpInst::ICMP_SGE: in SimplifyICmpInst() 1682 case ICmpInst::ICMP_SGE: in SimplifyICmpInst() 1736 case ICmpInst::ICMP_SGE: in SimplifyICmpInst() 1761 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp, in SimplifyICmpInst() 1824 case ICmpInst::ICMP_SGE: in SimplifyICmpInst() 1851 case ICmpInst::ICMP_SGE: in SimplifyICmpInst() 1913 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in SimplifyICmpInst() 1919 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in SimplifyICmpInst() 1970 case CmpInst::ICMP_SGE: in SimplifyICmpInst() 2055 if (Pred == CmpInst::ICMP_SGE) in SimplifyICmpInst()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3445 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 …]
|
D | ConstantFold.cpp | 1560 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation() 1758 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction() 1911 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1925 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1943 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 1945 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
|
D | ConstantRange.cpp | 111 case CmpInst::ICMP_SGE: { in makeAllowedICmpRegion() 157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1713 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/ |
D | dynamic_update_slice_util.cc | 64 b->CreateSelect(b->CreateICmp(is_signed ? llvm::ICmpInst::ICMP_SGE in EmitDynamicUpdateSliceInPlaceImpl()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 2901 case ICMP_SLT: return ICMP_SGE; in getInversePredicate() 2902 case ICMP_SGE: return ICMP_SLT; in getInversePredicate() 2928 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate() 2932 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate() 2945 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate() 3003 case ICmpInst::ICMP_SGE: in makeConstantRange() 3020 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate() 3021 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate() 3055 case ICmpInst::ICMP_SGE: return true; in isSigned() 3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
|
D | ConstantFold.cpp | 1727 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation() 1915 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction() 2063 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 2077 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 2095 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 2097 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 108 ICMP_SGE = 39, ///< signed greater or equal enumerator 123 case ICMP_SGE: return (S)Arg1 >= (S)Arg2; in ComputeCmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 501 auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI); in hasPositiveOperands() 593 if (LVI->getPredicateAt(ICmpInst::ICMP_SGE, SDI->getOperand(0), Zero, SDI) != in processAShr()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 190 case ICmpInst::ICMP_SGE: return ISD::SETGE; in getICmpCondCode()
|