Home
last modified time | relevance | path

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

12

/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.cpp254 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
264 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
DLoopUtils.cpp578 P = CmpInst::ICMP_ULT; in createMinMaxOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp452 return new ICmpInst(ICmpInst::ICMP_ULT, Idx, End); in FoldCmpLoadFromIndexedGlobal()
821 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst()
831 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst()
982 ICmpInst::ICMP_ULT, X, HiBound); in FoldICmpDivCst()
990 ICmpInst::ICMP_ULT, X, LoBound); in FoldICmpDivCst()
996 case ICmpInst::ICMP_ULT: in FoldICmpDivCst()
1304 return new ICmpInst(ICmpInst::ICMP_ULT, LHSI->getOperand(0), XorCst); in visitICmpInstWithInstAndIntCst()
1308 if (ICI.getPredicate() == ICmpInst::ICMP_ULT && in visitICmpInstWithInstAndIntCst()
1611 if (Pred == ICmpInst::ICMP_ULT) in visitICmpInstWithInstAndIntCst()
1623 else if (Pred == ICmpInst::ICMP_ULT) in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp313 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest()
565 case ICmpInst::ICMP_ULT: in decomposeBitTestICmp()
862 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
918 if (LHSCC == ICmpInst::ICMP_ULT && in FoldAndOfICmps()
1020 case ICmpInst::ICMP_ULT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps()
1027 case ICmpInst::ICMP_ULT: in FoldAndOfICmps()
1055 case ICmpInst::ICMP_ULT: in FoldAndOfICmps()
1064 case ICmpInst::ICMP_ULT: // (X u< 13 & X u< 15) -> X u< 13 in FoldAndOfICmps()
1078 case ICmpInst::ICMP_ULT: // (X s< 13 & X u< 15) -> no change in FoldAndOfICmps()
1094 case ICmpInst::ICMP_ULT: // (X u> 13 & X u< 15) -> (X-14) <u 1 in FoldAndOfICmps()
[all …]
DInstCombineSelect.cpp50 return ICmpInst::ICMP_ULT; in getCmpPredicateForMinMax()
420 case ICmpInst::ICMP_ULT: in visitSelectInstWithICmp()
/external/llvm/lib/IR/
DConstantFold.cpp1435 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1568 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1624 case -1: return isSigned ? ICmpInst::ICMP_SLT:ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1642 return isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1742 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction()
1882 case ICmpInst::ICMP_ULT: in ConstantFoldCompareInstruction()
1884 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1902 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1916 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
1923 if (pred == ICmpInst::ICMP_ULT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp3366 case ICMP_ULT: return ICMP_UGE; in getInversePredicate()
3367 case ICMP_UGE: return ICMP_ULT; in getInversePredicate()
3402 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3412 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3415 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3432 case ICmpInst::ICMP_ULT: in makeConstantRange()
3493 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate()
3494 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate()
3520 case CmpInst::ICMP_ULT: in getSignedPredicate()
3534 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
[all …]
DConstantRange.cpp69 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1486 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1498 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1533 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1547 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps()
1989 case CmpInst::ICMP_ULT: in computePointerICmp()
2214 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2487 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2567 case ICmpInst::ICMP_ULT: in SimplifyICmpInst()
2656 if (Pred == ICmpInst::ICMP_ULT) in SimplifyICmpInst()
2683 if (Pred == ICmpInst::ICMP_ULT) in SimplifyICmpInst()
[all …]
DScalarEvolution.cpp1174 *Pred = ICmpInst::ICMP_ULT; in getUnsignedOverflowLimitForStep()
1523 if (isLoopBackedgeGuardedByCond(L, ICmpInst::ICMP_ULT, AR, N) || in getZeroExtendExpr()
1524 (isLoopEntryGuardedByCond(L, ICmpInst::ICMP_ULT, Start, N) && in getZeroExtendExpr()
1525 isLoopBackedgeGuardedByCond(L, ICmpInst::ICMP_ULT, in getZeroExtendExpr()
4028 case ICmpInst::ICMP_ULT: in createNodeForSelectOrPHI()
5505 case ICmpInst::ICMP_ULT: { // while (X < Y) in computeExitLimitFromICmp()
6578 dyn_cast<ConstantInt>(ConstantExpr::getICmp(CmpInst::ICMP_ULT, in HowFarToZero()
6887 Pred = ICmpInst::ICMP_ULT; in SimplifyICmpOperands()
6941 case ICmpInst::ICMP_ULT: in SimplifyICmpOperands()
7027 Pred = ICmpInst::ICMP_ULT; in SimplifyICmpOperands()
[all …]
DValueTracking.cpp599 case ICmpInst::ICMP_ULT: in computeKnownBitsFromTrueCondition()
959 Pred == ICmpInst::ICMP_ULT && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
3940 case ICmpInst::ICMP_ULT: in matchSelectPattern()
4181 case CmpInst::ICMP_ULT: in isImpliedCondOperands()
DLazyValueInfo.cpp912 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) in getValueFromFromCondition()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp106 ICMP_ULT = 36, ///< unsigned less than enumerator
121 case ICMP_ULT: return Arg1 < Arg2; in ComputeCmp()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp144 ICmpInst *PtrCompare = new ICmpInst(ConvertedInst, ICmpInst::ICMP_ULT, in convertMemMoveToLoop()
/external/llvm/lib/CodeGen/
DAnalysis.cpp209 case ICmpInst::ICMP_ULT: return ISD::SETULT; in getICmpCondCode()
/external/llvm/unittests/IR/
DInstructionsTest.cpp315 ICmpInst *ICmp1 = new ICmpInst(ICmpInst::ICMP_ULT, PtrVecA, PtrVecB); in TEST()
DConstantRangeTest.cpp537 EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_ULT, in TEST()
/external/llvm/include/llvm/IR/
DPatternMatch.h1008 return Pred == CmpInst::ICMP_ULT || Pred == CmpInst::ICMP_ULE; in match()
1132 if (Pred == ICmpInst::ICMP_ULT) in match()
DInstrTypes.h907 ICMP_ULT = 36, ///< unsigned less than
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp889 case ICmpInst::ICMP_ULT: Out << "ULT"; break; in printConstant()
1296 case ICmpInst::ICMP_ULT: Out << "ICmpInst::ICMP_ULT"; break; in printInstruction()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp315 case ICmpInst::ICMP_ULT: in parseRangeCheckICmp()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp288 case ICmpInst::ICMP_ULT: R = executeICMP_ULT(Src1, Src2, Ty); break; in visitICmpInst()
653 case ICmpInst::ICMP_ULT: return executeICMP_ULT(Src1, Src2, Ty); in executeCmpInst()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp611 case CmpInst::ICMP_ULT: { in emitCmp()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2211 case CmpInst::ICMP_ULT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()

12