/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 26 case ICmpInst::ICMP_UGT: return 1; // 001 in getICmpCode() 48 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getPredForICmpCode() 120 case ICmpInst::ICMP_UGT: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1442 UnsignedPred == ICmpInst::ICMP_UGT) && in simplifyUnsignedRangeCheck() 1449 UnsignedPred == ICmpInst::ICMP_UGT)) in simplifyUnsignedRangeCheck() 1506 if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck() 1542 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() 1688 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 1691 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 1753 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in simplifyOrOfICmpsWithAdd() 1764 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in simplifyOrOfICmpsWithAdd() 2369 case CmpInst::ICMP_UGT: in computePointerICmp() 2541 case CmpInst::ICMP_UGT: // X >u 0 -> X in simplifyICmpOfBools() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 26 case ICmpInst::ICMP_UGT: return 1; // 001 in getICmpCode() 48 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getPredForICmpCode() 120 case ICmpInst::ICMP_UGT: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1434 UnsignedPred == ICmpInst::ICMP_UGT) && in simplifyUnsignedRangeCheck() 1441 UnsignedPred == ICmpInst::ICMP_UGT)) in simplifyUnsignedRangeCheck() 1479 if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck() 1536 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() 1682 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 1685 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 1746 if (Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOrOfICmpsWithLimitConst() 1810 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in simplifyOrOfICmpsWithAdd() 1821 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in simplifyOrOfICmpsWithAdd() 2428 case CmpInst::ICMP_UGT: in computePointerICmp() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 49 case ICmpInst::ICMP_UGT: return 1; // 001 in getICmpCode() 78 case 1: NewICmpPred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getICmpValue()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 388 return new ICmpInst(ICmpInst::ICMP_UGT, Idx, End); in foldCmpLoadFromIndexedGlobal() 1117 return new ICmpInst(ICmpInst::ICMP_UGT, X, R); in foldICmpAddOpConst() 1123 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in foldICmpAddOpConst() 1181 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst() 1452 if (Pred == ICmpInst::ICMP_UGT && match(Op1, m_ConstantInt(CI)) && in foldICmpWithConstant() 1630 if (Pred == ICmpInst::ICMP_UGT) { in foldICmpXorConstant() 1636 return new ICmpInst(ICmpInst::ICMP_UGT, X, Y); in foldICmpXorConstant() 1641 return new ICmpInst(ICmpInst::ICMP_UGT, X, in foldICmpXorConstant() 1645 return new ICmpInst(ICmpInst::ICMP_UGT, X, in foldICmpXorConstant() 1874 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 387 return new ICmpInst(ICmpInst::ICMP_UGT, Idx, End); in foldCmpLoadFromIndexedGlobal() 1115 return new ICmpInst(ICmpInst::ICMP_UGT, X, R); in foldICmpAddOpConst() 1121 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in foldICmpAddOpConst() 1179 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst() 1449 if (Pred == ICmpInst::ICMP_UGT && match(Op1, m_ConstantInt(CI)) && in foldICmpWithConstant() 1611 if (Pred == ICmpInst::ICMP_UGT) { in foldICmpXorConstant() 1617 return new ICmpInst(ICmpInst::ICMP_UGT, X, Y); in foldICmpXorConstant() 1622 return new ICmpInst(ICmpInst::ICMP_UGT, X, in foldICmpXorConstant() 1626 return new ICmpInst(ICmpInst::ICMP_UGT, X, in foldICmpXorConstant() 1853 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 851 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE; in foldAndOrOfEqualityCmpsWithConstants() 1045 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2() 1098 if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ && in foldUnsignedUnderflowCheck() 1120 UnsignedPred == ICmpInst::ICMP_UGT) && in foldUnsignedUnderflowCheck() 1137 if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ && in foldUnsignedUnderflowCheck() 1319 case ICmpInst::ICMP_UGT: in foldAndOfICmps() 2284 else if (PredR == ICmpInst::ICMP_UGT && LHS0 == RHS0) in foldOrOfICmps() 2293 else if (PredL == ICmpInst::ICMP_UGT && LHS0 == RHS0) in foldOrOfICmps() 2392 case ICmpInst::ICMP_UGT: in foldOrOfICmps() 2418 case ICmpInst::ICMP_UGT: // (X u< 13 | X u> 15) -> (X-13) u> 2 in foldOrOfICmps()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 198 case naclbitc::ICMP_UGT: in DecodeIcmpPredicate() 199 LLVMPredicate = CmpInst::ICMP_UGT; in DecodeIcmpPredicate()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 141 case ICmpInst::ICMP_UGT: in isSignBitCheck() 473 return new ICmpInst(ICmpInst::ICMP_UGT, Idx, End); in FoldCmpLoadFromIndexedGlobal() 1150 return new ICmpInst(ICmpInst::ICMP_UGT, X, R); in FoldICmpAddOpCst() 1156 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in FoldICmpAddOpCst() 1329 case ICmpInst::ICMP_UGT: in FoldICmpDivCst() 1335 if (Pred == ICmpInst::ICMP_UGT) in FoldICmpDivCst() 1465 return getICmp(I.ICMP_UGT, A, in FoldICmpCstShrCst() 1627 if (ICI.getPredicate() == ICmpInst::ICMP_UGT && in visitICmpInstWithInstAndIntCst() 1825 if (ICI.getPredicate() == ICmpInst::ICMP_UGT) { in visitICmpInstWithInstAndIntCst() 1852 ICI.getPredicate() == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_UGT in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 321 ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in InsertRangeTest() 560 case ICmpInst::ICMP_UGT: in decomposeBitTestICmp() 1011 case ICmpInst::ICMP_UGT: // (X != 13 & X u> 15) -> X u> 15 in FoldAndOfICmps() 1032 case ICmpInst::ICMP_UGT: // (X u< 13 & X u> 15) -> false in FoldAndOfICmps() 1046 case ICmpInst::ICMP_UGT: // (X s< 13 & X u> 15) -> no change in FoldAndOfICmps() 1055 case ICmpInst::ICMP_UGT: in FoldAndOfICmps() 1059 case ICmpInst::ICMP_UGT: // (X u> 13 & X u> 15) -> X u> 15 in FoldAndOfICmps() 1079 case ICmpInst::ICMP_UGT: // (X s> 13 & X u> 15) -> no change in FoldAndOfICmps() 1803 else if (RHSCC == ICmpInst::ICMP_UGT && Val == Val2) in FoldOrOfICmps() 1812 else if (LHSCC == ICmpInst::ICMP_UGT && Val2 == Val) in FoldOrOfICmps() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1581 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1697 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1704 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1728 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1775 case 1: return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1784 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1898 case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2)); in ConstantFoldCompareInstruction() 2047 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() 2059 case ICmpInst::ICMP_UGT: in ConstantFoldCompareInstruction() 2061 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3535 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 3538 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 3588 case ICmpInst::ICMP_UGT: return "ugt"; in getPredicateName() 3601 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate() 3612 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3614 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate() 3628 case ICMP_UGT: return ICMP_UGE; in getFlippedStrictnessPredicate() 3630 case ICMP_UGE: return ICMP_UGT; in getFlippedStrictnessPredicate() 3653 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate() 3654 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1452 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() 1760 case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2)); in ConstantFoldCompareInstruction() 1903 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() 1915 case ICmpInst::ICMP_UGT: in ConstantFoldCompareInstruction() 1917 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3440 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 3443 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 3476 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate() 3487 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3489 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate() 3519 case ICmpInst::ICMP_UGT: in makeConstantRange() 3568 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate() 3569 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate() 3599 case CmpInst::ICMP_UGT: in getSignedPredicate() 3609 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 323 case ICmpInst::ICMP_UGT: in INITIALIZE_PASS_DEPENDENCY() 649 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound() 669 IsSigned ? CmpInst::ICMP_SGT : CmpInst::ICMP_UGT; in isSafeDecreasingBound() 699 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound() 894 Pred = ICmpInst::ICMP_UGT; in parseLoopStructure() 908 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 971 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 1279 : (IsSignedPredicate ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in changeIterationSpaceEnd()
|
D | GuardWidening.cpp | 598 IC->getPredicate() != ICmpInst::ICMP_UGT)) in parseRangeChecks() 602 if (IC->getPredicate() == ICmpInst::ICMP_UGT) in parseRangeChecks()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 291 ICMP_UGT = 34, ///< unsigned greater than enumerator
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 341 case ICmpInst::ICMP_UGT: in INITIALIZE_PASS_DEPENDENCY() 665 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound() 685 IsSigned ? CmpInst::ICMP_SGT : CmpInst::ICMP_UGT; in isSafeDecreasingBound() 715 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound() 906 Pred = ICmpInst::ICMP_UGT; in parseLoopStructure() 920 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 982 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 1294 : (IsSignedPredicate ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in changeIterationSpaceEnd()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 1702 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1824 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1831 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1855 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1902 case 1: return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT; in evaluateICmpRelation() 1911 return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation() 2028 case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2)); in ConstantFoldCompareInstruction() 2191 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() 2203 case ICmpInst::ICMP_UGT: in ConstantFoldCompareInstruction() 2205 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3652 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 3655 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 3705 case ICmpInst::ICMP_UGT: return "ugt"; in getPredicateName() 3718 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate() 3729 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3731 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate() 3747 case ICMP_UGT: return ICMP_ULT; in getSwappedPredicate() 3748 case ICMP_ULT: return ICMP_UGT; in getSwappedPredicate() 3788 case ICMP_UGT: in isStrictPredicate() 3807 return ICMP_UGT; in getStrictPredicate() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | PatternMatch.cpp | 155 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0)) in TEST_F() 158 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0)) in TEST_F() 161 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0)) in TEST_F() 165 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1)) in TEST_F() 168 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1)) in TEST_F() 171 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1)) in TEST_F() 175 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1)) in TEST_F() 178 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1)) in TEST_F() 181 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1)) in TEST_F() 1620 ICmpInst::Predicate Pred = ICmpInst::ICMP_UGT; in TYPED_TEST()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1551 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() 1554 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() 1717 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps() 1728 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps() 2000 case CmpInst::ICMP_UGT: in computePointerICmp() 2192 case ICmpInst::ICMP_UGT: in SimplifyICmpInst() 2250 case ICmpInst::ICMP_UGT: in SimplifyICmpInst() 2508 case ICmpInst::ICMP_UGT: in SimplifyICmpInst() 2584 case ICmpInst::ICMP_UGT: in SimplifyICmpInst() 2705 if (Pred == ICmpInst::ICMP_UGT) in SimplifyICmpInst() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 498 IC->getPredicate() != ICmpInst::ICMP_UGT)) in parseRangeChecks() 502 if (IC->getPredicate() == ICmpInst::ICMP_UGT) in parseRangeChecks()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64PostLegalizerLowering.cpp | 474 P = (P == CmpInst::ICMP_ULT) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT; in tryAdjustICmpImmAndPred() 492 case CmpInst::ICMP_UGT: in tryAdjustICmpImmAndPred()
|