Home
last modified time | relevance | path

Searched refs:ICMP_SGT (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp50 case ICmpInst::ICMP_SGT: return 1; // 001 in getICmpCode()
78 case 1: NewICmpPred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getICmpValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp42 case ICmpInst::ICMP_SGT: in MatchSelectPattern()
58 case ICmpInst::ICMP_SGT: in MatchSelectPattern()
362 else if ((Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT) in visitSelectInstWithICmp()
363 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) in visitSelectInstWithICmp()
370 case ICmpInst::ICMP_SGT: { in visitSelectInstWithICmp()
377 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_SGT) in visitSelectInstWithICmp()
456 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp()
DInstCombineAndOrXor.cpp93 case ICmpInst::ICMP_SGT: return 1; // 001 in getICmpCode()
148 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getICmpValue()
369 ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in InsertRangeTest()
767 if (LHSCC == ICmpInst::ICMP_SGT && LHSCst->isAllOnesValue()) { in FoldAndOfICmps()
880 case ICmpInst::ICMP_SGT: // (X != 13 & X s> 15) -> X s> 15 in FoldAndOfICmps()
897 case ICmpInst::ICMP_SGT: // (X u< 13 & X s> 15) -> no change in FoldAndOfICmps()
924 case ICmpInst::ICMP_SGT: // (X u> 13 & X s> 15) -> no change in FoldAndOfICmps()
936 case ICmpInst::ICMP_SGT: in FoldAndOfICmps()
940 case ICmpInst::ICMP_SGT: // (X s> 13 & X s> 15) -> X s> 15 in FoldAndOfICmps()
1501 if (LHSCC == ICmpInst::ICMP_SGT && LHSCst->isAllOnesValue()) { in FoldOrOfICmps()
[all …]
DInstCombineCompares.cpp125 case ICmpInst::ICMP_SGT: // True if LHS s> -1 in isSignBitCheck()
729 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst()
738 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst()
890 case ICmpInst::ICMP_SGT: in FoldICmpDivCst()
1024 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1036 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1042 return new ICmpInst(ICmpInst::ICMP_SGT, CompareVal, in visitICmpInstWithInstAndIntCst()
1810 case ICmpInst::ICMP_SGT: in visitICmpInst()
1893 return new ICmpInst(ICmpInst::ICMP_SGT, Op0, in visitICmpInst()
2037 return new ICmpInst(ICmpInst::ICMP_SGT, Op0, in visitICmpInst()
[all …]
DInstCombineCasts.cpp514 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp()
524 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp()
898 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { in transformSExtICmp()
906 if (Pred == ICmpInst::ICMP_SGT) in transformSExtICmp()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp211 case naclbitc::ICMP_SGT: in DecodeIcmpPredicate()
212 LLVMPredicate = CmpInst::ICMP_SGT; in DecodeIcmpPredicate()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp138 case ICmpInst::ICMP_SGT: // True if LHS s> -1 in isSignBitCheck()
170 if (Pred == ICmpInst::ICMP_SGT) { in isSignTest()
1170 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst()
1179 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in FoldICmpAddOpCst()
1330 case ICmpInst::ICMP_SGT: in FoldICmpDivCst()
1577 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1589 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1595 return new ICmpInst(ICmpInst::ICMP_SGT, CompareVal, in visitICmpInstWithInstAndIntCst()
1962 if (Pred == ICmpInst::ICMP_SGT) in visitICmpInstWithInstAndIntCst()
1974 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp321 ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in InsertRangeTest()
546 case ICmpInst::ICMP_SGT: in decomposeBitTestICmp()
827 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
1012 case ICmpInst::ICMP_SGT: // (X != 13 & X s> 15) -> X s> 15 in FoldAndOfICmps()
1034 case ICmpInst::ICMP_SGT: // (X u< 13 & X s> 15) -> no change in FoldAndOfICmps()
1061 case ICmpInst::ICMP_SGT: // (X u> 13 & X s> 15) -> no change in FoldAndOfICmps()
1073 case ICmpInst::ICMP_SGT: in FoldAndOfICmps()
1077 case ICmpInst::ICMP_SGT: // (X s> 13 & X s> 15) -> X s> 15 in FoldAndOfICmps()
1916 case ICmpInst::ICMP_SGT: // (X == 13 | X s> 14) -> no change in FoldOrOfICmps()
1929 case ICmpInst::ICMP_SGT: // (X != 13 | X s> 15) -> X != 13 in FoldOrOfICmps()
[all …]
DInstCombineSelect.cpp52 return ICmpInst::ICMP_SGT; in getCmpPredicateForMinMax()
434 case ICmpInst::ICMP_SGT: { in visitSelectInstWithICmp()
441 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_SGT) in visitSelectInstWithICmp()
520 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp()
573 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in visitSelectInstWithICmp()
DInstCombineCasts.cpp594 (ICI->getPredicate() == ICmpInst::ICMP_SGT && Op1CV.isAllOnesValue())) { in transformZExtICmp()
604 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp()
979 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { in transformSExtICmp()
987 if (Pred == ICmpInst::ICMP_SGT) in transformSExtICmp()
/external/llvm/lib/IR/
DConstantFold.cpp1452 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1564 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1571 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1595 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1642 case 1: return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1651 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1756 case ICmpInst::ICMP_SGT: return ConstantInt::get(ResultTy, V1.sgt(V2)); in ConstantFoldCompareInstruction()
1911 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
1923 case ICmpInst::ICMP_SGT: in ConstantFoldCompareInstruction()
1925 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
[all …]
DInstructions.cpp3444 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3447 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3474 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3476 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate()
3489 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate()
3525 case ICmpInst::ICMP_SGT: in makeConstantRange()
3564 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate()
3565 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate()
3600 return CmpInst::ICMP_SGT; in getSignedPredicate()
3617 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h300 ICMP_SGT = 38, ///< signed greater than enumerator
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1621 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1731 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1738 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1762 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1803 case 1: return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1812 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1913 case ICmpInst::ICMP_SGT: return ConstantInt::get(ResultTy, V1.sgt(V2)); in ConstantFoldCompareInstruction()
2063 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
2075 case ICmpInst::ICMP_SGT: in ConstantFoldCompareInstruction()
2077 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction()
[all …]
DInstructions.cpp2900 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
2903 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
2928 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
2930 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate()
2943 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate()
2979 case ICmpInst::ICMP_SGT: 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/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp353 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
364 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
DInstructionSimplify.cpp1535 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
1681 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
1735 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
1823 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
1850 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
1956 case CmpInst::ICMP_SGT: { in SimplifyICmpInst()
2068 if (Pred == CmpInst::ICMP_SGT) in SimplifyICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1537 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1539 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1543 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1545 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1719 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2279 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
2519 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
2571 case ICmpInst::ICMP_SGT: in SimplifyICmpInst()
2708 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLE) { in SimplifyICmpInst()
2716 return Pred == ICmpInst::ICMP_SGT ? getTrue(ITy) : getFalse(ITy); in SimplifyICmpInst()
[all …]
DBranchProbabilityInfo.cpp441 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
462 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
DDependenceAnalysis.cpp973 case CmpInst::ICMP_SGT: in isKnownPredicate()
1094 if (isKnownPredicate(CmpInst::ICMP_SGT, AbsDelta, Product)) { in strongSIVtest()
1270 if (isKnownPredicate(CmpInst::ICMP_SGT, Delta, ML)) { in weakCrossingSIVtest()
1665 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroSrcSIVtest()
1774 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroDstSIVtest()
1984 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1)) { in symbolicRDIVtest()
2007 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1_A2N2)) { in symbolicRDIVtest()
2028 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1_A2N2, C2_C1)) { in symbolicRDIVtest()
2045 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1, C2_C1)) { in symbolicRDIVtest()
2635 if (isKnownPredicate(CmpInst::ICMP_SGT, LowerBound, Delta)) in testBounds()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp107 ICMP_SGT = 38, ///< signed greater than enumerator
122 case ICMP_SGT: return (S)Arg1 > (S)Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp194 case ICmpInst::ICMP_SGT: return ISD::SETGT; in getICmpCondCode()
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp250 } else if (Pred == CmpInst::ICMP_SGT && Const->isMinusOne()) { in convertICmp()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dstreamout_jit.cpp83 returnMask = OR(returnMask, ICMP_SGT(newOffset, bufferSize)); in oob()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp290 case ICmpInst::ICMP_SGT: in parseRangeCheckICmp()
751 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 0); in parseLoopStructure()
772 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 1) || in parseLoopStructure()

1234