Home
last modified time | relevance | path

Searched refs:ICMP_SLE (Results 1 – 25 of 125) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp36 case ICmpInst::ICMP_SLE: return 6; // 110 in getICmpCode()
54 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
86 case ICmpInst::ICMP_SLE: in decomposeBitTestICmp()
DInstructionSimplify.cpp1471 (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) || in simplifyOrOfICmpsWithSameOperands()
1585 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in simplifyAndOfICmpsWithAdd()
1648 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in simplifyOrOfICmpsWithAdd()
1650 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd()
1654 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in simplifyOrOfICmpsWithAdd()
1656 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd()
2349 case CmpInst::ICMP_SLE: // X <=s 0 -> true in simplifyICmpOfBools()
2358 case CmpInst::ICMP_SLE: // X <=s -1 -> X in simplifyICmpOfBools()
2432 case ICmpInst::ICMP_SLE: { in simplifyICmpWithZero()
2770 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLE) { in simplifyICmpWithBinOp()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp100 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue()); in TEST_F()
109 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue()); in TEST_F()
119 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SLE, I1Ty, LV3), nullptr); in TEST_F()
129 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SLE, I1Ty, LV4), nullptr); in TEST_F()
170 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2))); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp58 case ICmpInst::ICMP_SLE: return 6; // 110 in getICmpCode()
83 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp220 case naclbitc::ICMP_SLE: in DecodeIcmpPredicate()
221 LLVMPredicate = CmpInst::ICMP_SLE; in DecodeIcmpPredicate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp259 FCmp32Libcalls[CmpInst::FCMP_OLE] = {{RTLIB::OLE_F32, CmpInst::ICMP_SLE}}; in setFCmpLibcallsGNU()
264 FCmp32Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F32, CmpInst::ICMP_SLE}}; in setFCmpLibcallsGNU()
277 FCmp64Libcalls[CmpInst::FCMP_OLE] = {{RTLIB::OLE_F64, CmpInst::ICMP_SLE}}; in setFCmpLibcallsGNU()
282 FCmp64Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F64, CmpInst::ICMP_SLE}}; in setFCmpLibcallsGNU()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp82 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
114 Pred = ICmpInst::ICMP_SLE; in isSignTest()
1114 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in foldICmpAddOpConst()
1841 if (Pred == ICmpInst::ICMP_SLE) in foldICmpShlOne()
1850 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in foldICmpShlOne()
2304 return new ICmpInst(ICmpInst::ICMP_SLE, X, Y); in foldICmpSubConstant()
2931 DstPred = ICmpInst::Predicate::ICMP_SLE; in foldICmpWithLowBitMaskedVal()
2943 case ICmpInst::Predicate::ICMP_SLE: in foldICmpWithLowBitMaskedVal()
2947 DstPred = ICmpInst::Predicate::ICMP_SLE; in foldICmpWithLowBitMaskedVal()
3110 return new ICmpInst(CmpInst::ICMP_SLE, A, Op1); in foldICmpBinOp()
[all …]
/external/swiftshader/third_party/LLVM/examples/Fibonacci/
Dfibonacci.cpp64 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp77 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Fibonacci/
Dfibonacci.cpp76 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h303 ICMP_SLE = 41 ///< signed less or equal enumerator
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h676 ICMP_SLE = 41, ///< signed less or equal
678 LAST_ICMP_PREDICATE = ICMP_SLE,
679 BAD_ICMP_PREDICATE = ICMP_SLE + 1
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp3256 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3259 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3304 case ICmpInst::ICMP_SLE: return "sle"; in getPredicateName()
3316 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3321 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3334 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3342 case ICMP_SLT: return ICMP_SLE; in getFlippedStrictnessPredicate()
3344 case ICMP_SLE: return ICMP_SLT; in getFlippedStrictnessPredicate()
3368 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3369 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp135 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
166 Pred = ICmpInst::ICMP_SLE; in isSignTest()
1169 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1957 if (Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
1968 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
3101 if (Pred != ICmpInst::ICMP_SLE && Pred != ICmpInst::ICMP_SGE && in canonicalizeCmpWithConstant()
3117 bool IsLE = (Pred == ICmpInst::ICMP_SLE || Pred == ICmpInst::ICMP_ULE); in canonicalizeCmpWithConstant()
3227 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
3308 return new ICmpInst(ICmpInst::ICMP_SLE, A, B); in visitICmpInst()
3573 case ICmpInst::ICMP_SLE: in visitICmpInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1475 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1521 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1688 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1741 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1834 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1861 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1925 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B". in SimplifyICmpInst()
1932 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B". in SimplifyICmpInst()
1943 case CmpInst::ICMP_SLE: in SimplifyICmpInst()
2065 if (Pred == CmpInst::ICMP_SLE) in SimplifyICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1545 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1711 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1713 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
1717 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1719 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2222 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2262 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2526 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2577 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2708 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLE) { in SimplifyICmpInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp122 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
728 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1827 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
1883 case ICmpInst::ICMP_SLE: in visitICmpInst()
2094 case ICmpInst::ICMP_SLE: in visitICmpInst()
2362 case ICmpInst::ICMP_SLE: in visitICmpInst()
2629 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
2657 Pred == ICmpInst::ICMP_SLE) in FoldFCmp_IntToFP_Cst()
2715 case ICmpInst::ICMP_SLE: in FoldFCmp_IntToFP_Cst()
2732 Pred = ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
DInstCombineAndOrXor.cpp101 case ICmpInst::ICMP_SLE: return 6; // 110 in getICmpCode()
153 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
341 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest()
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()
/external/llvm/lib/IR/
DInstructions.cpp3444 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3447 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3474 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3479 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3492 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3537 case ICmpInst::ICMP_SLE: in makeConstantRange()
3566 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3567 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3598 return CmpInst::ICMP_SLE; in getSignedPredicate()
3617 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Ddynamic_update_slice_util.cc70 b->CreateSelect(b->CreateICmp(is_signed ? llvm::ICmpInst::ICMP_SLE in EmitDynamicUpdateSliceInPlaceImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2900 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
2903 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
2928 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
2933 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
2946 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
2991 case ICmpInst::ICMP_SLE: in makeConstantRange()
3020 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3021 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3054 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ParallelJIT/
DParallelJIT.cpp106 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp108 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/
DParallelJIT.cpp91 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp110 ICMP_SLE = 41, ///< signed less or equal enumerator
125 case ICMP_SLE: return (S)Arg1 <= (S)Arg2; in ComputeCmp()

12345