Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp32 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode()
52 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
107 case ICmpInst::ICMP_ULT: in decomposeBitTestICmp()
DInstructionSimplify.cpp1019 return isICmpTrue(ICmpInst::ICMP_ULT, X, Y, Q, MaxRecurse); in isDivZero()
1408 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1420 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1446 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands()
1577 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1591 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
2170 case CmpInst::ICMP_ULT: in computePointerICmp()
2344 case CmpInst::ICMP_ULT: // X <u 0 -> false in simplifyICmpOfBools()
2410 case ICmpInst::ICMP_ULT: in simplifyICmpWithZero()
2749 if (Pred == ICmpInst::ICMP_ULT) in simplifyICmpWithBinOp()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp54 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode()
81 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
DSimplifyIndVar.cpp289 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
299 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp402 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in foldCmpLoadFromIndexedGlobal()
1092 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in foldICmpAddOpConst()
1102 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in foldICmpAddOpConst()
1504 return new ICmpInst(ICmpInst::ICMP_ULT, X, Y); in foldICmpXorConstant()
1508 if (Pred == ICmpInst::ICMP_ULT && *XorC == -C && C.isPowerOf2()) in foldICmpXorConstant()
1821 if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne()
1833 else if (Pred == ICmpInst::ICMP_ULT) in foldICmpShlOne()
1931 if (Pred == ICmpInst::ICMP_ULT) { in foldICmpShlConstant()
2034 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant()
2098 if (Cmp.getPredicate() == ICmpInst::ICMP_ULT) { in foldICmpUDivConstant()
[all …]
DInstCombineAndOrXor.cpp177 ICmpInst::Predicate Pred = Inside ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE; in insertRangeTest()
790 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
951 if ((PredL == ICmpInst::ICMP_ULT && LHSC->getValue().isPowerOf2()) || in foldAndOfICmps()
1039 case ICmpInst::ICMP_ULT: in foldAndOfICmps()
1063 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) <u 1 in foldAndOfICmps()
1796 if ((PredL == ICmpInst::ICMP_ULT || PredL == ICmpInst::ICMP_ULE) && in foldOrOfICmps()
1866 if (PredR == ICmpInst::ICMP_ULT && LHS0 == RHS->getOperand(1)) in foldOrOfICmps()
1875 if (PredL == ICmpInst::ICMP_ULT && RHS0 == LHS->getOperand(1)) in foldOrOfICmps()
1911 if (PredL == ICmpInst::ICMP_ULT && PredR == ICmpInst::ICMP_EQ) { in foldOrOfICmps()
1971 case ICmpInst::ICMP_ULT: in foldOrOfICmps()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp97 case ICmpInst::ICMP_ULT: return 4; // 100 in getICmpCode()
151 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
351 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest()
748 if (LHSCC == ICmpInst::ICMP_ULT && in FoldAndOfICmps()
863 case ICmpInst::ICMP_ULT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps()
870 case ICmpInst::ICMP_ULT: in FoldAndOfICmps()
891 case ICmpInst::ICMP_ULT: in FoldAndOfICmps()
900 case ICmpInst::ICMP_ULT: // (X u< 13 & X u< 15) -> X u< 13 in FoldAndOfICmps()
914 case ICmpInst::ICMP_ULT: // (X s< 13 & X u< 15) -> no change in FoldAndOfICmps()
930 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) <u 1 in FoldAndOfICmps()
[all …]
DInstCombineCompares.cpp422 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in FoldCmpLoadFromIndexedGlobal()
706 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst()
716 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst()
868 ICmpInst::ICMP_ULT, X, HiBound); in FoldICmpDivCst()
876 ICmpInst::ICMP_ULT, X, LoBound); in FoldICmpDivCst()
882 case ICmpInst::ICMP_ULT: in FoldICmpDivCst()
1351 return new ICmpInst(ICmpInst::ICMP_ULT, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1474 ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in visitICmpInstWithInstAndIntCst()
1620 if (ICI.getPredicate() == ICmpInst::ICMP_ULT) in visitICmpInstWithCastAndCast()
1762 case ICmpInst::ICMP_ULT: { in DemandedBitsLHSMask()
[all …]
DInstCombineSelect.cpp44 case ICmpInst::ICMP_ULT: in MatchSelectPattern()
60 case ICmpInst::ICMP_ULT: in MatchSelectPattern()
358 if ((Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT) in visitSelectInstWithICmp()
367 case ICmpInst::ICMP_ULT: in visitSelectInstWithICmp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp303 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 …]
DInstCombineCompares.cpp459 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/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp205 case naclbitc::ICMP_ULT: in DecodeIcmpPredicate()
206 LLVMPredicate = CmpInst::ICMP_ULT; in DecodeIcmpPredicate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp355 case ICmpInst::ICMP_ULT: in parseRangeCheckICmp()
697 auto Predicate = Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in CannotBeMaxInLoop()
711 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound()
761 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound()
779 IsSigned ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in isSafeIncreasingBound()
970 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure()
994 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
1046 Pred = ICmpInst::ICMP_ULT; in parseLoopStructure()
1057 bool LTPred = (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT); in parseLoopStructure()
1187 IsSignedPredicate ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateSubRanges()
DLoopPredication.cpp498 auto *FirstIterationCheck = expandCheck(Expander, Builder, ICmpInst::ICMP_ULT, in widenICmpRangeCheckDecrementingLoop()
525 if (RangeCheck->Pred != ICmpInst::ICMP_ULT) { in widenICmpRangeCheck()
677 return Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_SLT && in parseLoopLatchICmp()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h298 ICMP_ULT = 36, ///< unsigned less than enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1464 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1605 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1661 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1679 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1784 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction()
1924 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction()
1926 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1944 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1958 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
1965 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp3253 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
3254 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
3307 case ICmpInst::ICMP_ULT: return "ult"; in getPredicateName()
3319 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3329 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3332 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3346 case ICMP_ULT: return ICMP_ULE; in getFlippedStrictnessPredicate()
3348 case ICMP_ULE: return ICMP_ULT; in getFlippedStrictnessPredicate()
3370 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate()
3371 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp1448 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()
DConstantRange.cpp69 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion()
147 Pred = isEmptySet() ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in getEquivalentICmp()
152 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
DInstructions.cpp3441 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
3442 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
3477 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3487 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3490 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3507 case ICmpInst::ICMP_ULT: in makeConstantRange()
3568 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate()
3569 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate()
3595 case CmpInst::ICMP_ULT: in getSignedPredicate()
3609 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyIndVar.cpp208 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
219 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1617 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1752 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1802 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1820 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1916 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction()
2051 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction()
2053 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
2071 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
2085 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
2092 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp2897 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
2898 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
2931 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
2941 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
2944 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
2961 case ICmpInst::ICMP_ULT: in makeConstantRange()
3022 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate()
3023 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate()
3046 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
3087 case ICMP_NE: case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT: in isFalseWhenEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp200 Pred == ICmpInst::ICMP_ULT) { in processUse()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1481 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1493 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1537 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1551 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps()
2002 case CmpInst::ICMP_ULT: in computePointerICmp()
2240 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2513 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2593 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2683 if (Pred == ICmpInst::ICMP_ULT) in SimplifyICmpInst()
2736 if (Pred == ICmpInst::ICMP_ULT) in SimplifyICmpInst()
[all …]

12345