Home
last modified time | relevance | path

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

1234

/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.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/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp98 case ICmpInst::ICMP_SLT: 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()
761 if (LHSCC == ICmpInst::ICMP_SLT && LHSCst->isZero()) { in FoldAndOfICmps()
864 case ICmpInst::ICMP_SLT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps()
874 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
902 case ICmpInst::ICMP_SLT: // (X u< 13 & X s< 15) -> no change in FoldAndOfICmps()
906 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
912 case ICmpInst::ICMP_SLT: // (X s< 13 & X s< 15) -> X < 13 in FoldAndOfICmps()
932 case ICmpInst::ICMP_SLT: // (X u> 13 & X s< 15) -> no change in FoldAndOfICmps()
[all …]
DInstCombineCompares.cpp119 case ICmpInst::ICMP_SLT: // True if LHS s< 0 in isSignBitCheck()
728 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
740 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst()
867 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
875 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
883 case ICmpInst::ICMP_SLT: in FoldICmpDivCst()
1023 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1045 return new ICmpInst(ICmpInst::ICMP_SLT, CompareVal, in visitICmpInstWithInstAndIntCst()
1343 return new ICmpInst(ICmpInst::ICMP_SLT, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1465 ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineSelect.cpp46 case ICmpInst::ICMP_SLT: in MatchSelectPattern()
62 case ICmpInst::ICMP_SLT: in MatchSelectPattern()
358 if ((Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_ULT) in visitSelectInstWithICmp()
359 && CI->isMinValue(Pred == ICmpInst::ICMP_SLT)) in visitSelectInstWithICmp()
368 case ICmpInst::ICMP_SLT: in visitSelectInstWithICmp()
459 } else if (Pred == ICmpInst::ICMP_SLT && Cmp->isNullValue()) { in visitSelectInstWithICmp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp132 case ICmpInst::ICMP_SLT: // True if LHS s< 0 in isSignBitCheck()
165 if (Pred == ICmpInst::ICMP_SLT) { in isSignTest()
1169 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1181 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst()
1307 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
1315 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
1323 case ICmpInst::ICMP_SLT: in FoldICmpDivCst()
1548 if (ICI.getPredicate() == ICmpInst::ICMP_SLT && in visitICmpInstWithInstAndIntCst()
1550 return new ICmpInst(ICmpInst::ICMP_SLT, V, in visitICmpInstWithInstAndIntCst()
1576 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp303 ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT); in InsertRangeTest()
539 case ICmpInst::ICMP_SLT: in decomposeBitTestICmp()
850 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
994 case ICmpInst::ICMP_SLT: // (X == 13 & X < 15) -> X == 13 in FoldAndOfICmps()
1006 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
1039 case ICmpInst::ICMP_SLT: // (X u< 13 & X s< 15) -> no change in FoldAndOfICmps()
1043 case ICmpInst::ICMP_SLT: in FoldAndOfICmps()
1049 case ICmpInst::ICMP_SLT: // (X s< 13 & X s< 15) -> X < 13 in FoldAndOfICmps()
1069 case ICmpInst::ICMP_SLT: // (X u> 13 & X s< 15) -> no change in FoldAndOfICmps()
1085 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()
432 case ICmpInst::ICMP_SLT: in visitSelectInstWithICmp()
523 } else if (Pred == ICmpInst::ICMP_SLT && Cmp->isNullValue()) { in visitSelectInstWithICmp()
568 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp217 case naclbitc::ICMP_SLT: in DecodeIcmpPredicate()
218 LLVMPredicate = CmpInst::ICMP_SLT; in DecodeIcmpPredicate()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h302 ICMP_SLT = 40, ///< signed less than enumerator
/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()
DLowerSwitch.cpp162 ICmpInst* Comp = new ICmpInst(ICmpInst::ICMP_SLT, in switchConvert()
/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()
1755 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction()
1907 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction()
1909 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1927 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1937 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
1944 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp3445 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
3446 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
3474 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3477 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
3490 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
3513 case ICmpInst::ICMP_SLT: in makeConstantRange()
3564 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate()
3565 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate()
3596 return CmpInst::ICMP_SLT; in getSignedPredicate()
3617 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
DConstantRange.cpp75 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion()
152 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp349 case CmpInst::ICMP_SLT: in calcZeroHeuristics()
360 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
DInstructionSimplify.cpp1470 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1514 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1687 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1740 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1752 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp, in SimplifyICmpInst()
1833 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1860 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
1973 case CmpInst::ICMP_SLT: in SimplifyICmpInst()
2058 if (Pred == CmpInst::ICMP_SLT) in SimplifyICmpInst()
/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()
1912 case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2)); in ConstantFoldCompareInstruction()
2059 case ICmpInst::ICMP_SLT: in ConstantFoldCompareInstruction()
2061 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2079 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2089 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
2096 if (pred == ICmpInst::ICMP_SLT) Result = 0; in ConstantFoldCompareInstruction()
DInstructions.cpp2901 case ICMP_SLT: return ICMP_SGE; in getInversePredicate()
2902 case ICMP_SGE: return ICMP_SLT; in getInversePredicate()
2928 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
2931 case ICMP_ULT: return ICMP_SLT; in getSignedPredicate()
2944 case ICMP_SLT: return ICMP_ULT; in getUnsignedPredicate()
2967 case ICmpInst::ICMP_SLT: in makeConstantRange()
3018 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate()
3019 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate()
3054 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
3087 case ICMP_NE: case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT: in isFalseWhenEqual()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1539 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
2217 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2254 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2525 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2576 case ICmpInst::ICMP_SLT: in SimplifyICmpInst()
2588 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp, in SimplifyICmpInst()
2688 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in SimplifyICmpInst()
2696 return Pred == ICmpInst::ICMP_SLT ? getTrue(ITy) : getFalse(ITy); in SimplifyICmpInst()
2698 return Pred == ICmpInst::ICMP_SLT ? getFalse(ITy) : getTrue(ITy); in SimplifyICmpInst()
2744 if (Pred == ICmpInst::ICMP_SLT) in SimplifyICmpInst()
[all …]
DBranchProbabilityInfo.cpp437 case CmpInst::ICMP_SLT: in calcZeroHeuristics()
448 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp109 ICMP_SLT = 40, ///< signed less than enumerator
124 case ICMP_SLT: return (S)Arg1 < (S)Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp192 case ICmpInst::ICMP_SLT: return ISD::SETLT; in getICmpCondCode()
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp287 case ICmpInst::ICMP_SLT: in parseRangeCheckICmp()
750 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 1) || in parseLoopStructure()
773 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 0); in parseLoopStructure()

1234