/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 55 case ICmpInst::ICMP_SLT: return 4; // 100 in getICmpCode() 81 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getICmpValue()
|
D | SimplifyIndVar.cpp | 254 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder() 264 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
|
D | LowerSwitch.cpp | 280 ICmpInst* Comp = new ICmpInst(ICmpInst::ICMP_SLT, in switchConvert()
|
D | LoopUtils.cpp | 584 P = CmpInst::ICMP_SLT; in createMinMaxOp()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 123 case ICmpInst::ICMP_SLT: // True if LHS s< 0 in isSignBitCheck() 156 if (pred == ICmpInst::ICMP_SLT) { in isSignTest() 843 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst() 855 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst() 981 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst() 989 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst() 997 case ICmpInst::ICMP_SLT: in FoldICmpDivCst() 1223 if (ICI.getPredicate() == ICmpInst::ICMP_SLT && in visitICmpInstWithInstAndIntCst() 1225 return new ICmpInst(ICmpInst::ICMP_SLT, V, in visitICmpInstWithInstAndIntCst() 1251 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 313 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest() 551 case ICmpInst::ICMP_SLT: in decomposeBitTestICmp() 862 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 1021 case ICmpInst::ICMP_SLT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps() 1033 case ICmpInst::ICMP_SLT: in FoldAndOfICmps() 1066 case ICmpInst::ICMP_SLT: // (X u< 13 & X s< 15) -> no change in FoldAndOfICmps() 1070 case ICmpInst::ICMP_SLT: in FoldAndOfICmps() 1076 case ICmpInst::ICMP_SLT: // (X s< 13 & X s< 15) -> X < 13 in FoldAndOfICmps() 1096 case ICmpInst::ICMP_SLT: // (X u> 13 & X s< 15) -> no change in FoldAndOfICmps() 1112 case ICmpInst::ICMP_SLT: // (X s> 13 & X s< 15) -> (X-14) s< 1 in FoldAndOfICmps() [all …]
|
D | InstCombineSelect.cpp | 48 return ICmpInst::ICMP_SLT; in getCmpPredicateForMinMax() 421 case ICmpInst::ICMP_SLT: in visitSelectInstWithICmp() 512 } else if (Pred == ICmpInst::ICMP_SLT && Cmp->isNullValue()) { in visitSelectInstWithICmp() 557 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp()
|
D | InstCombineCasts.cpp | 593 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp() 978 if ((Pred == ICmpInst::ICMP_SLT && Op1C->isNullValue()) || in transformSExtICmp()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1435 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() 1738 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction() 1890 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction() 1892 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction() 1910 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction() 1920 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction() 1927 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
|
D | Instructions.cpp | 3370 case ICMP_SLT: return ICMP_SGE; in getInversePredicate() 3371 case ICMP_SGE: return ICMP_SLT; in getInversePredicate() 3399 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate() 3402 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate() 3415 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate() 3438 case ICmpInst::ICMP_SLT: in makeConstantRange() 3489 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate() 3490 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate() 3521 return CmpInst::ICMP_SLT; in getSignedPredicate() 3542 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned() [all …]
|
D | ConstantRange.cpp | 75 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 424 case CmpInst::ICMP_SLT: in calcZeroHeuristics() 435 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
|
D | InstructionSimplify.cpp | 1535 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 2192 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2228 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2499 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2550 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2562 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp, in SimplifyICmpInst() 2691 if (Pred == ICmpInst::ICMP_SLT) in SimplifyICmpInst() 2726 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2757 case ICmpInst::ICMP_SLT: in SimplifyICmpInst() 2915 case CmpInst::ICMP_SLT: in SimplifyICmpInst() [all …]
|
D | ScalarEvolution.cpp | 1155 *Pred = ICmpInst::ICMP_SLT; in getSignedOverflowLimitForStep() 4005 case ICmpInst::ICMP_SLT: in createNodeForSelectOrPHI() 5504 case ICmpInst::ICMP_SLT: in computeExitLimitFromICmp() 5506 bool IsSigned = Cond == ICmpInst::ICMP_SLT; in computeExitLimitFromICmp() 6923 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 6969 case ICmpInst::ICMP_SLT: in SimplifyICmpOperands() 7001 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 7006 Pred = ICmpInst::ICMP_SLT; in SimplifyICmpOperands() 7183 case ICmpInst::ICMP_SLT: in isMonotonicPredicateImpl() 7196 Increasing = Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE; in isMonotonicPredicateImpl() [all …]
|
D | ValueTracking.cpp | 940 Pred == ICmpInst::ICMP_SLT && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 3942 case ICmpInst::ICMP_SLT: in matchSelectPattern() 3967 if (Pred == ICmpInst::ICMP_SLT && (C1->isZero() || C1->isOne())) { in matchSelectPattern() 4174 case CmpInst::ICMP_SLT: in isImpliedCondOperands()
|
D | DependenceAnalysis.cpp | 983 case CmpInst::ICMP_SLT: in isKnownPredicate() 2026 if (isKnownPredicate(CmpInst::ICMP_SLT, A2N2, C1_C2)) { in symbolicRDIVtest() 2087 if (isKnownPredicate(CmpInst::ICMP_SLT, C1_C2, A2N2)) { in symbolicRDIVtest()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 110 ICMP_SLT = 40, ///< signed less than enumerator 125 case ICMP_SLT: return (S)Arg1 < (S)Arg2; in ComputeCmp()
|
/external/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 299 case ICmpInst::ICMP_SLT: in parseRangeCheckICmp() 779 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 1) || in parseLoopStructure() 802 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 0); in parseLoopStructure()
|
D | Float2Int.cpp | 107 return CmpInst::ICMP_SLT; in INITIALIZE_PASS_DEPENDENCY()
|
D | IndVarSimplify.cpp | 355 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV() 411 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 208 case ICmpInst::ICMP_SLT: return ISD::SETLT; in getICmpCondCode()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 888 case ICmpInst::ICMP_SLT: Out << "SLT"; break; in printConstant() 1297 case ICmpInst::ICMP_SLT: Out << "ICmpInst::ICMP_SLT"; break; in printInstruction()
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 556 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SLT, SignedSample), in TEST()
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 911 ICMP_SLT = 40, ///< signed less than
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 289 case ICmpInst::ICMP_SLT: R = executeICMP_SLT(Src1, Src2, Ty); break; in visitICmpInst() 654 case ICmpInst::ICMP_SLT: return executeICMP_SLT(Src1, Src2, Ty); in executeCmpInst()
|