Home
last modified time | relevance | path

Searched refs:ICMP_ULT (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp31 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()
DInstructionSimplify.cpp1045 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 …]
DLoopCacheAnalysis.cpp399 return SE.isKnownPredicate(ICmpInst::ICMP_ULT, Stride, CacheLineSize); in isConsecutive()
DValueTracking.cpp905 case ICmpInst::ICMP_ULT: in computeKnownBitsFromAssume()
4737 C1->ult(*C2) && Pred == CmpInst::ICMP_ULT) in matchClamp()
4792 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) in matchMinMaxOfMinMax()
4796 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in matchMinMaxOfMinMax()
5043 case ICmpInst::ICMP_ULT: in matchSelectPattern()
5288 if (SPF == SPF_UMIN) return ICmpInst::ICMP_ULT; in getMinMaxPred()
5386 case CmpInst::ICMP_ULT: in isImpliedCondOperands()
DScalarEvolution.cpp1376 *Pred = ICmpInst::ICMP_ULT; in getUnsignedOverflowLimitForStep()
1799 if (isLoopBackedgeGuardedByCond(L, ICmpInst::ICMP_ULT, AR, N) || in getZeroExtendExpr()
1800 isKnownOnEveryIteration(ICmpInst::ICMP_ULT, AR, N)) { in getZeroExtendExpr()
5380 case ICmpInst::ICMP_ULT: in createNodeForSelectOrPHI()
7486 case ICmpInst::ICMP_ULT: { // while (X < Y) in computeExitLimitFromICmp()
9058 Pred = ICmpInst::ICMP_ULT; in SimplifyICmpOperands()
9119 Pred = ICmpInst::ICMP_ULT; in SimplifyICmpOperands()
9123 Pred = ICmpInst::ICMP_ULT; in SimplifyICmpOperands()
9298 case ICmpInst::ICMP_ULT: in isMonotonicPredicateImpl()
9474 if (Pred != ICmpInst::ICMP_ULT || ProvingSplitPredicate) in isKnownPredicateViaSplitting()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp373 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 …]
DInstCombineAndOrXor.cpp174 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 …]
DInstCombineSelect.cpp698 if (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_ULT) { in canonicalizeSaturatedSubtract()
746 if (Pred == ICmpInst::ICMP_ULT && in canonicalizeSaturatedAdd()
768 Pred = ICmpInst::ICMP_ULT; in canonicalizeSaturatedAdd()
771 if (Pred != ICmpInst::ICMP_ULT) in canonicalizeSaturatedAdd()
924 else if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_SLT) in adjustMinMax()
1209 case ICmpInst::Predicate::ICMP_ULT: in canonicalizeClampLike()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp204 case naclbitc::ICMP_ULT: in DecodeIcmpPredicate()
205 LLVMPredicate = CmpInst::ICMP_ULT; in DecodeIcmpPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp320 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()
DLoopPredication.cpp650 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()
DGuardWidening.cpp597 (IC->getPredicate() != ICmpInst::ICMP_ULT && in parseRangeChecks()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h293 ICMP_ULT = 36, ///< unsigned less than enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1577 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()
DInstructions.cpp3536 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 …]
DConstantRange.cpp92 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion()
154 Pred = isEmptySet() ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in getEquivalentICmp()
167 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp199 Pred == ICmpInst::ICMP_ULT) { in processUse()
DAMDGPUAtomicOptimizer.cpp274 Pred = CmpInst::ICMP_ULT; in buildNonAtomicBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp762 P = CmpInst::ICMP_ULT; in createMinMaxOp()
1040 auto Predicate = Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in cannotBeMaxInLoop()
DLowerMemIntrinsics.cpp303 ICmpInst *PtrCompare = new ICmpInst(InsertBefore, ICmpInst::ICMP_ULT, in createMemMoveLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp37 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT)); in describeFuzzerIntOps()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h497 case ICmpInst::Predicate::ICMP_ULT: in isValue()
1522 return Pred == CmpInst::ICMP_ULT || Pred == CmpInst::ICMP_ULE; in match()
1661 if (Pred == ICmpInst::ICMP_ULT) in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp247 case ICmpInst::ICMP_ULT: return ISD::SETULT; in getICmpCondCode()
DExpandMemCmp.cpp518 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, in emitMemCmpResultBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2218 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, RHS); in lower()
2236 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, LHS); in lower()
2248 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, BorrowOut, LHS, RHS); in lower()
2269 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, LHS_ULT_RHS, LHS, RHS); in lower()
3220 auto IsShort = MIRBuilder.buildICmp(ICmpInst::ICMP_ULT, CondTy, Amt, NewBits); in narrowScalarShift()
4020 return CmpInst::ICMP_ULT; in minMaxToCompare()

123