/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 31 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode() 51 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getPredForICmpCode() 106 case ICmpInst::ICMP_ULT: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1045 return isICmpTrue(ICmpInst::ICMP_ULT, X, Y, Q, MaxRecurse); in isDivZero() 1441 if ((UnsignedPred == ICmpInst::ICMP_ULT || in simplifyUnsignedRangeCheck() 1448 if (EqPred == ICmpInst::ICMP_NE && (UnsignedPred == ICmpInst::ICMP_ULT || in simplifyUnsignedRangeCheck() 1471 if (UnsignedPred == ICmpInst::ICMP_ULT && !IsAnd && in simplifyUnsignedRangeCheck() 1490 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck() 1511 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck() 1542 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() 1674 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd() 1688 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 2371 case CmpInst::ICMP_ULT: in computePointerICmp() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 31 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode() 51 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getPredForICmpCode() 106 case ICmpInst::ICMP_ULT: in decomposeBitTestICmp()
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 54 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode() 81 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 374 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in foldCmpLoadFromIndexedGlobal() 1114 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in foldICmpAddOpConst() 1124 return new ICmpInst(ICmpInst::ICMP_ULT, X, in foldICmpAddOpConst() 1633 return new ICmpInst(ICmpInst::ICMP_ULT, X, Y); in foldICmpXorConstant() 1638 if (Pred == ICmpInst::ICMP_ULT) { in foldICmpXorConstant() 1773 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() 2020 if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne() 2032 else if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne() 2130 if (Pred == ICmpInst::ICMP_ULT) { in foldICmpShlConstant() 2175 (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_UGE)) { in foldICmpShlConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 130 ICmpInst::Predicate Pred = Inside ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in insertRangeTest() 726 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 880 Pred == ICmpInst::ICMP_ULT && I1->ugt(*I01) && I01->shl(1) == *I1)) in foldSignedTruncationCheck() 977 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 1032 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck() 1062 UnsignedPred == ICmpInst::ICMP_ULT) && in foldUnsignedUnderflowCheck() 1196 if ((PredL == ICmpInst::ICMP_ULT && LHSC->getValue().isPowerOf2()) || in foldAndOfICmps() 1284 case ICmpInst::ICMP_ULT: in foldAndOfICmps() 1319 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) u< 1 in foldAndOfICmps() 1645 return match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, Threshold)); in canNarrowShiftAmt() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 373 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in foldCmpLoadFromIndexedGlobal() 1112 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in foldICmpAddOpConst() 1122 return new ICmpInst(ICmpInst::ICMP_ULT, X, in foldICmpAddOpConst() 1614 return new ICmpInst(ICmpInst::ICMP_ULT, X, Y); in foldICmpXorConstant() 1619 if (Pred == ICmpInst::ICMP_ULT) { in foldICmpXorConstant() 1751 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() 1978 if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne() 1990 else if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne() 2088 if (Pred == ICmpInst::ICMP_ULT) { in foldICmpShlConstant() 2133 (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_UGE)) { in foldICmpShlConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 174 ICmpInst::Predicate Pred = Inside ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in insertRangeTest() 787 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 940 Pred == ICmpInst::ICMP_ULT && I1->ugt(*I01) && I01->shl(1) == *I1)) in foldSignedTruncationCheck() 1037 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 1095 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck() 1127 UnsignedPred == ICmpInst::ICMP_ULT) && in foldUnsignedUnderflowCheck() 1209 if ((PredL == ICmpInst::ICMP_ULT && LHSC->getValue().isPowerOf2()) || in foldAndOfICmps() 1297 case ICmpInst::ICMP_ULT: in foldAndOfICmps() 1332 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) u< 1 in foldAndOfICmps() 2212 if ((PredL == ICmpInst::ICMP_ULT || PredL == ICmpInst::ICMP_ULE) && in foldOrOfICmps() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 204 case naclbitc::ICMP_ULT: in DecodeIcmpPredicate() 205 LLVMPredicate = CmpInst::ICMP_ULT; in DecodeIcmpPredicate()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 303 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest() 553 case ICmpInst::ICMP_ULT: in decomposeBitTestICmp() 850 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 907 if ((LHSCC == ICmpInst::ICMP_ULT && LHSCst->getValue().isPowerOf2()) || in FoldAndOfICmps() 993 case ICmpInst::ICMP_ULT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps() 1000 case ICmpInst::ICMP_ULT: in FoldAndOfICmps() 1028 case ICmpInst::ICMP_ULT: in FoldAndOfICmps() 1037 case ICmpInst::ICMP_ULT: // (X u< 13 & X u< 15) -> X u< 13 in FoldAndOfICmps() 1051 case ICmpInst::ICMP_ULT: // (X s< 13 & X u< 15) -> no change in FoldAndOfICmps() 1067 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) <u 1 in FoldAndOfICmps() [all …]
|
D | InstCombineCompares.cpp | 459 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in FoldCmpLoadFromIndexedGlobal() 1147 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst() 1157 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst() 1308 ICmpInst::ICMP_ULT, X, HiBound); in FoldICmpDivCst() 1316 ICmpInst::ICMP_ULT, X, LoBound); in FoldICmpDivCst() 1322 case ICmpInst::ICMP_ULT: in FoldICmpDivCst() 1629 return new ICmpInst(ICmpInst::ICMP_ULT, LHSI->getOperand(0), XorCst); in visitICmpInstWithInstAndIntCst() 1633 if (ICI.getPredicate() == ICmpInst::ICMP_ULT && in visitICmpInstWithInstAndIntCst() 1936 if (Pred == ICmpInst::ICMP_ULT) in visitICmpInstWithInstAndIntCst() 1948 else if (Pred == ICmpInst::ICMP_ULT) in visitICmpInstWithInstAndIntCst() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 320 case ICmpInst::ICMP_ULT: in INITIALIZE_PASS_DEPENDENCY() 649 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound() 699 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound() 717 IsSigned ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in isSafeIncreasingBound() 883 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure() 907 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure() 959 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure() 970 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure() 1114 IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateSubRanges() 1278 ? (IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT) in changeIterationSpaceEnd()
|
D | LoopPredication.cpp | 650 ICmpInst::ICMP_ULT, in widenICmpRangeCheckDecrementingLoop() 666 ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in normalizePredicate() 690 if (RangeCheck->Pred != ICmpInst::ICMP_ULT) { in widenICmpRangeCheck() 892 return Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_SLT && in parseLoopLatchICmp()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 338 case ICmpInst::ICMP_ULT: in INITIALIZE_PASS_DEPENDENCY() 665 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound() 715 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound() 733 IsSigned ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in isSafeIncreasingBound() 895 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure() 919 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure() 970 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure() 981 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure() 1129 IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateSubRanges() 1293 ? (IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT) in changeIterationSpaceEnd()
|
D | ConstraintElimination.cpp | 120 if (Pred != CmpInst::ICMP_ULE && Pred != CmpInst::ICMP_ULT) in getConstraint() 157 R[0] = Offset1 + Offset2 + (Pred == CmpInst::ICMP_ULT ? -1 : 0); in getConstraint()
|
D | LoopPredication.cpp | 652 ICmpInst::ICMP_ULT, in widenICmpRangeCheckDecrementingLoop() 668 ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in normalizePredicate() 692 if (RangeCheck->Pred != ICmpInst::ICMP_ULT) { in widenICmpRangeCheck() 894 return Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_SLT && in parseLoopLatchICmp()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 293 ICMP_ULT = 36, ///< unsigned less than enumerator
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64PostLegalizerLowering.cpp | 464 case CmpInst::ICMP_ULT: in tryAdjustICmpImmAndPred() 474 P = (P == CmpInst::ICMP_ULT) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT; in tryAdjustICmpImmAndPred() 502 P = (P == CmpInst::ICMP_ULE) ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in tryAdjustICmpImmAndPred()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1577 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() 1897 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction() 2043 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction() 2045 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2063 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2077 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction() 2084 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
|
D | Instructions.cpp | 3536 case ICMP_ULT: return ICMP_UGE; in getInversePredicate() 3537 case ICMP_UGE: return ICMP_ULT; in getInversePredicate() 3590 case ICmpInst::ICMP_ULT: return "ult"; in getPredicateName() 3602 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate() 3612 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3615 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate() 3629 case ICMP_ULT: return ICMP_ULE; in getFlippedStrictnessPredicate() 3631 case ICMP_ULE: return ICMP_ULT; in getFlippedStrictnessPredicate() 3653 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate() 3654 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1448 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() 1759 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction() 1899 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction() 1901 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1919 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1933 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction() 1940 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 1698 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() 2027 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction() 2187 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction() 2189 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2207 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2221 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction() 2228 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
|
/external/llvm-project/llvm/unittests/IR/ |
D | PatternMatch.cpp | 256 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 0)) in TEST_F() 259 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 0)) in TEST_F() 262 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 0)) in TEST_F() 266 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 1)) in TEST_F() 269 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 1)) in TEST_F() 272 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, 1)) in TEST_F() 276 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, -1)) in TEST_F() 279 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, -1)) in TEST_F() 282 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, APInt(BitWidth, -1)) in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 199 Pred == ICmpInst::ICMP_ULT) { in processUse()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 199 Pred == ICmpInst::ICMP_ULT) { in processUse()
|