Home
last modified time | relevance | path

Searched refs:ICMP_UGE (Results 1 – 25 of 100) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp30 case ICmpInst::ICMP_UGE: return 3; // 011 in getICmpCode()
51 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
128 case ICmpInst::ICMP_UGE: in decomposeBitTestICmp()
DInstructionSimplify.cpp1413 if (UnsignedPred == ICmpInst::ICMP_UGE && !IsAnd) { in simplifyUnsignedRangeCheck()
1472 (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGE)) in simplifyOrOfICmpsWithSameOperands()
1648 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in simplifyOrOfICmpsWithAdd()
1662 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in simplifyOrOfICmpsWithAdd()
2169 case CmpInst::ICMP_UGE: in computePointerICmp()
2348 case CmpInst::ICMP_UGE: // X >=u 0 -> true in simplifyICmpOfBools()
2357 case CmpInst::ICMP_UGE: // X >=u 1 -> X in simplifyICmpOfBools()
2376 case ICmpInst::ICMP_UGE: in simplifyICmpOfBools()
2412 case ICmpInst::ICMP_UGE: in simplifyICmpWithZero()
2751 if (Pred == ICmpInst::ICMP_UGE) in simplifyICmpWithBinOp()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp52 case ICmpInst::ICMP_UGE: 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/
DNaClBitcodeDecoders.cpp202 case naclbitc::ICMP_UGE: in DecodeIcmpPredicate()
203 LLVMPredicate = CmpInst::ICMP_UGE; in DecodeIcmpPredicate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp92 case ICmpInst::ICMP_UGE: in isSignBitCheck()
1101 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in foldICmpAddOpConst()
1176 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1210 I.ICMP_UGE, A, in foldICmpShlConstConst()
1509 return new ICmpInst(ICmpInst::ICMP_UGE, X, Y); in foldICmpXorConstant()
1823 else if (Pred == ICmpInst::ICMP_UGE) in foldICmpShlOne()
1831 if (Pred == ICmpInst::ICMP_UGE) in foldICmpShlOne()
2232 ICmpInst::ICMP_UGE, X, in foldICmpDivConstant()
2249 ICmpInst::ICMP_UGE, X, in foldICmpDivConstant()
2268 return new ICmpInst(ICmpInst::ICMP_UGE, X, in foldICmpDivConstant()
[all …]
DInstCombineAndOrXor.cpp177 ICmpInst::Predicate Pred = Inside ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in insertRangeTest()
1000 if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE || in foldAndOfICmps()
1001 PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE || in foldAndOfICmps()
1882 ICmpInst::ICMP_UGE, in foldOrOfICmps()
1924 if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE || in foldOrOfICmps()
1925 PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE || in foldOrOfICmps()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp145 case ICmpInst::ICMP_UGE: in isSignBitCheck()
1156 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in FoldICmpAddOpCst()
1305 ICmpInst::ICMP_UGE, X, LoBound); in FoldICmpDivCst()
1319 ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
1336 return new ICmpInst(ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
1482 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst()
1521 return getICmp(I.ICMP_UGE, A, in FoldICmpCstShlCst()
1635 return new ICmpInst(ICmpInst::ICMP_UGE, LHSI->getOperand(0), XorCst); in visitICmpInstWithInstAndIntCst()
1938 else if (Pred == ICmpInst::ICMP_UGE) in visitICmpInstWithInstAndIntCst()
1946 if (Pred == ICmpInst::ICMP_UGE) in visitICmpInstWithInstAndIntCst()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h297 ICMP_UGE = 35, ///< unsigned greater or equal enumerator
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp132 case ICmpInst::ICMP_UGE: in isSignBitCheck()
715 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in FoldICmpAddOpCst()
865 ICmpInst::ICMP_UGE, X, LoBound); in FoldICmpDivCst()
879 ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
896 return new ICmpInst(ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
1354 return new ICmpInst(ICmpInst::ICMP_UGE, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1474 ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in visitICmpInstWithInstAndIntCst()
1817 case ICmpInst::ICMP_UGE: in visitICmpInst()
1887 case ICmpInst::ICMP_UGE: in visitICmpInst()
2101 case ICmpInst::ICMP_UGE: in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp95 case ICmpInst::ICMP_UGE: return 3; // 011 in getICmpCode()
150 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
814 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
815 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
1521 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1522 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
DInstCombineSelect.cpp41 case ICmpInst::ICMP_UGE: return SPF_UMAX; in MatchSelectPattern()
57 case ICmpInst::ICMP_UGE: return SPF_UMIN; in MatchSelectPattern()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp3253 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
3254 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
3306 case ICmpInst::ICMP_UGE: return "uge"; in getPredicateName()
3320 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3329 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3333 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3345 case ICMP_UGT: return ICMP_UGE; in getFlippedStrictnessPredicate()
3347 case ICMP_UGE: return ICMP_UGT; in getFlippedStrictnessPredicate()
3372 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3373 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
[all …]
DConstantRange.cpp108 case CmpInst::ICMP_UGE: { in makeAllowedICmpRegion()
150 Pred = isEmptySet() ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in getEquivalentICmp()
168 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
DConstantFold.cpp1580 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1787 case ICmpInst::ICMP_UGE: return ConstantInt::get(ResultTy, V1.uge(V2)); in ConstantFoldCompareInstruction()
1928 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1942 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1964 case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1966 if (pred == ICmpInst::ICMP_UGT || pred == ICmpInst::ICMP_UGE) Result = 1; in ConstantFoldCompareInstruction()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1465 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1502 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1671 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1749 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1831 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1858 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
1983 EqP = CmpInst::ICMP_UGE; // "A == umax(A, B)" iff "A uge B". in SimplifyICmpInst()
1989 EqP = CmpInst::ICMP_UGE; // "A == umax(A, B)" iff "A uge B". in SimplifyICmpInst()
2040 case CmpInst::ICMP_UGE: in SimplifyICmpInst()
2075 if (Pred == CmpInst::ICMP_UGE) in SimplifyICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1486 if (UnsignedPred == ICmpInst::ICMP_UGE && !IsAnd) { in simplifyUnsignedRangeCheck()
1711 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1725 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps()
2001 case CmpInst::ICMP_UGE: in computePointerICmp()
2197 case ICmpInst::ICMP_UGE: { in SimplifyICmpInst()
2242 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
2509 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
2585 case ICmpInst::ICMP_UGE: in SimplifyICmpInst()
2685 if (Pred == ICmpInst::ICMP_UGE) in SimplifyICmpInst()
2734 if (Pred == ICmpInst::ICMP_UGE) in SimplifyICmpInst()
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp105 case CmpInst::ICMP_UGE: { in makeAllowedICmpRegion()
147 Pred = isEmptySet() ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in getEquivalentICmp()
157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
DInstructions.cpp3441 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
3442 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
3478 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3487 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3491 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3543 case ICmpInst::ICMP_UGE: in makeConstantRange()
3570 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3571 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
3601 case CmpInst::ICMP_UGE: in getSignedPredicate()
3610 case ICmpInst::ICMP_UGE: return true; in isUnsigned()
[all …]
DConstantFold.cpp1560 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1762 case ICmpInst::ICMP_UGE: return ConstantInt::get(ResultTy, V1.uge(V2)); in ConstantFoldCompareInstruction()
1903 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1917 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1939 case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
1941 if (pred == ICmpInst::ICMP_UGT || pred == ICmpInst::ICMP_UGE) Result = 1; in ConstantFoldCompareInstruction()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Ddynamic_update_slice_util.cc65 : llvm::ICmpInst::ICMP_UGE, in EmitDynamicUpdateSliceInPlaceImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2897 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
2898 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
2932 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
2941 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
2945 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
2997 case ICmpInst::ICMP_UGE: in makeConstantRange()
3024 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3025 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
3047 case ICmpInst::ICMP_UGE: return true; in isUnsigned()
3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
DConstantFold.cpp1727 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1919 case ICmpInst::ICMP_UGE: return ConstantInt::get(ResultTy, V1.uge(V2)); in ConstantFoldCompareInstruction()
2055 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
2069 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
2091 case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
2093 if (pred == ICmpInst::ICMP_UGT || pred == ICmpInst::ICMP_UGE) Result = 1; in ConstantFoldCompareInstruction()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp104 ICMP_UGE = 35, ///< unsigned greater or equal enumerator
119 case ICMP_UGE: return Arg1 >= Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp191 case ICmpInst::ICMP_UGE: return ISD::SETUGE; in getICmpCondCode()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp588 EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_UGE, in TEST()
735 EXPECT_EQ(Pred, CmpInst::ICMP_UGE); in TEST()
745 EXPECT_EQ(Pred, CmpInst::ICMP_UGE); in TEST()

1234