Home
last modified time | relevance | path

Searched refs:ICMP_SLT (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp55 case ICmpInst::ICMP_SLT: 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()
DLowerSwitch.cpp280 ICmpInst* Comp = new ICmpInst(ICmpInst::ICMP_SLT, in switchConvert()
DLoopUtils.cpp584 P = CmpInst::ICMP_SLT; in createMinMaxOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp123 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 …]
DInstCombineAndOrXor.cpp313 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 …]
DInstCombineSelect.cpp48 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()
DInstCombineCasts.cpp593 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp()
978 if ((Pred == ICmpInst::ICMP_SLT && Op1C->isNullValue()) || in transformSExtICmp()
/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()
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()
DInstructions.cpp3370 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 …]
DConstantRange.cpp75 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp424 case CmpInst::ICMP_SLT: in calcZeroHeuristics()
435 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
DInstructionSimplify.cpp1535 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 …]
DScalarEvolution.cpp1155 *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 …]
DValueTracking.cpp940 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()
DDependenceAnalysis.cpp983 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/
DFuzzerTraceState.cpp110 ICMP_SLT = 40, ///< signed less than enumerator
125 case ICMP_SLT: return (S)Arg1 < (S)Arg2; in ComputeCmp()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp299 case ICmpInst::ICMP_SLT: in parseRangeCheckICmp()
779 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 1) || in parseLoopStructure()
802 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 0); in parseLoopStructure()
DFloat2Int.cpp107 return CmpInst::ICMP_SLT; in INITIALIZE_PASS_DEPENDENCY()
DIndVarSimplify.cpp355 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/
DAnalysis.cpp208 case ICmpInst::ICMP_SLT: return ISD::SETLT; in getICmpCondCode()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp888 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/
DConstantRangeTest.cpp556 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SLT, SignedSample), in TEST()
/external/llvm/include/llvm/IR/
DInstrTypes.h911 ICMP_SLT = 40, ///< signed less than
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp289 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()

12