Home
last modified time | relevance | path

Searched refs:ICMP_SGE (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp53 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode()
80 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp738 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst()
864 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
878 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
897 return new ICmpInst(ICmpInst::ICMP_SGE, X, HiBound); in FoldICmpDivCst()
1346 return new ICmpInst(ICmpInst::ICMP_SGE, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1465 ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in visitICmpInstWithInstAndIntCst()
1824 case ICmpInst::ICMP_SGE: in visitICmpInst()
1891 case ICmpInst::ICMP_SGE: in visitICmpInst()
2087 case ICmpInst::ICMP_SGE: in visitICmpInst()
2358 case ICmpInst::ICMP_SGE: in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp96 case ICmpInst::ICMP_SGE: return 3; // 011 in getICmpCode()
150 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getICmpValue()
816 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
817 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1523 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1524 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
DInstCombineSelect.cpp43 case ICmpInst::ICMP_SGE: return SPF_SMAX; in MatchSelectPattern()
59 case ICmpInst::ICMP_SGE: return SPF_SMIN; in MatchSelectPattern()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp171 Pred = ICmpInst::ICMP_SGE; in isSignTest()
1179 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst()
1304 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
1318 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
1337 return new ICmpInst(ICmpInst::ICMP_SGE, X, HiBound); in FoldICmpDivCst()
1866 ? ICmpInst::ICMP_SGE in visitICmpInstWithInstAndIntCst()
1974 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in visitICmpInstWithInstAndIntCst()
2165 return new ICmpInst(ICmpInst::ICMP_SGE, LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
2310 ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in visitICmpInstWithInstAndIntCst()
3101 if (Pred != ICmpInst::ICMP_SLE && Pred != ICmpInst::ICMP_SGE && in canonicalizeCmpWithConstant()
[all …]
DInstCombineAndOrXor.cpp828 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
956 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
957 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1856 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1857 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1528 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
1682 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
1736 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
1761 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp, in SimplifyICmpInst()
1824 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
1851 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
1913 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in SimplifyICmpInst()
1919 EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B". in SimplifyICmpInst()
1970 case CmpInst::ICMP_SGE: in SimplifyICmpInst()
2055 if (Pred == CmpInst::ICMP_SGE) in SimplifyICmpInst()
DScalarEvolution.cpp2430 isKnownPredicate(ICmpInst::ICMP_SGE, Ops[i], Ops[i+1])) { in getSMaxExpr()
3828 case ICmpInst::ICMP_SGE: in createSCEV()
5513 case ICmpInst::ICMP_SGE: in SimplifyICmpOperands()
5632 case ICmpInst::ICMP_SGE: in SimplifyICmpOperands()
5760 case ICmpInst::ICMP_SGE: in isKnownPredicateWithRanges()
6011 isKnownPredicateWithRanges(ICmpInst::ICMP_SGE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
6015 case ICmpInst::ICMP_SGE: in isImpliedCondOperandsHelper()
6016 if (isKnownPredicateWithRanges(ICmpInst::ICMP_SGE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
/external/llvm/lib/IR/
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()
3478 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
3491 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3549 case ICmpInst::ICMP_SGE: in makeConstantRange()
3566 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3567 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3602 return CmpInst::ICMP_SGE; in getSignedPredicate()
3618 case ICmpInst::ICMP_SGE: return true; in isSigned()
[all …]
DConstantFold.cpp1560 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1758 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction()
1911 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
1925 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
1943 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
1945 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
DConstantRange.cpp111 case CmpInst::ICMP_SGE: { in makeAllowedICmpRegion()
157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1713 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2205 case ICmpInst::ICMP_SGE: { in SimplifyICmpInst()
2271 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2520 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2572 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2597 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp, in SimplifyICmpInst()
2688 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) { in SimplifyICmpInst()
2746 if (Pred == ICmpInst::ICMP_SGE) in SimplifyICmpInst()
2769 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
2800 case ICmpInst::ICMP_SGE: in SimplifyICmpInst()
[all …]
DScalarEvolution.cpp3096 isKnownPredicate(ICmpInst::ICMP_SGE, Ops[i], Ops[i+1])) { in getSMaxExpr()
4249 case ICmpInst::ICMP_SGE: in createNodeForSelectOrPHI()
7373 case ICmpInst::ICMP_SGE: in SimplifyICmpOperands()
7492 case ICmpInst::ICMP_SGE: in SimplifyICmpOperands()
7664 case ICmpInst::ICMP_SGE: in isMonotonicPredicateImpl()
7673 Increasing = Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE; in isMonotonicPredicateImpl()
7797 case ICmpInst::ICMP_SGE: in isKnownPredicateViaNoOverflow()
7845 isKnownPredicate(CmpInst::ICMP_SGE, LHS, getZero(LHS->getType())) && in isKnownPredicateViaSplitting()
8180 case ICmpInst::ICMP_SGE: in isImpliedCond()
8466 case ICmpInst::ICMP_SGE: in IsKnownPredicateViaMinOrMax()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
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()
2932 case ICMP_UGE: return ICMP_SGE; in getSignedPredicate()
2945 case ICMP_SGE: return ICMP_UGE; in getUnsignedPredicate()
3003 case ICmpInst::ICMP_SGE: in makeConstantRange()
3020 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3021 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3055 case ICmpInst::ICMP_SGE: return true; in isSigned()
3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
DConstantFold.cpp1727 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
1915 case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2)); in ConstantFoldCompareInstruction()
2063 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2077 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2095 case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2097 if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1; in ConstantFoldCompareInstruction()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp108 ICMP_SGE = 39, ///< signed greater or equal enumerator
123 case ICMP_SGE: return (S)Arg1 >= (S)Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp190 case ICmpInst::ICMP_SGE: return ISD::SETGE; in getICmpCondCode()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp344 auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI); in hasPositiveOperands()
DFloat2Int.cpp92 return CmpInst::ICMP_SGE; in mapFCmpPred()
DIndVarSimplify.cpp319 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV()
377 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV()
1374 SE->isKnownPredicate(ICmpInst::ICMP_SGE, NarrowSCEV, in pushNarrowIVUsers()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp607 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SGE, SignedSample), in TEST()
740 EXPECT_EQ(Pred, CmpInst::ICMP_SGE); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h674 ICMP_SGE = 39, ///< signed greater or equal
/external/llvm/lib/CodeGen/
DAnalysis.cpp205 case ICmpInst::ICMP_SGE: return ISD::SETGE; in getICmpCondCode()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp107 case CmpInst::ICMP_SGE: { in makeICmpRegion()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp328 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in HandleFloatingPointIV()
386 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in HandleFloatingPointIV()

123