/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 27 case ICmpInst::ICMP_SGT: return 1; // 001 in getICmpCode() 48 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getPredForICmpCode() 92 case ICmpInst::ICMP_SGT: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1021 isICmpTrue(CmpInst::ICMP_SGT, Y, PosDividendC, Q, MaxRecurse)) in isDivZero() 1036 if (isICmpTrue(CmpInst::ICMP_SGT, X, NegDivisorC, Q, MaxRecurse) && in isDivZero() 1541 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands() 1674 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd() 1676 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in simplifyAndOfICmpsWithAdd() 1680 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd() 1682 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in simplifyAndOfICmpsWithAdd() 1755 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in simplifyOrOfICmpsWithAdd() 2546 case CmpInst::ICMP_SGT: // X >s 0 -> false in simplifyICmpOfBools() 2650 case ICmpInst::ICMP_SGT: { in simplifyICmpWithZero() [all …]
|
D | DependenceAnalysis.cpp | 999 case CmpInst::ICMP_SGT: in isKnownPredicate() 1171 if (isKnownPredicate(CmpInst::ICMP_SGT, AbsDelta, Product)) { in strongSIVtest() 1347 if (isKnownPredicate(CmpInst::ICMP_SGT, Delta, ML)) { in weakCrossingSIVtest() 1742 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroSrcSIVtest() 1851 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) { in weakZeroDstSIVtest() 2061 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1)) { in symbolicRDIVtest() 2084 if (isKnownPredicate(CmpInst::ICMP_SGT, C2_C1, A1N1_A2N2)) { in symbolicRDIVtest() 2105 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1_A2N2, C2_C1)) { in symbolicRDIVtest() 2122 if (isKnownPredicate(CmpInst::ICMP_SGT, A1N1, C2_C1)) { in symbolicRDIVtest() 2718 if (isKnownPredicate(CmpInst::ICMP_SGT, LowerBound, Delta)) in testBounds() [all …]
|
D | ValueTracking.cpp | 855 case ICmpInst::ICMP_SGT: in computeKnownBitsFromAssume() 4732 C1->sgt(*C2) && Pred == CmpInst::ICMP_SGT) in matchClamp() 4772 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) { in matchMinMaxOfMinMax() 4784 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in matchMinMaxOfMinMax() 4861 if (Pred != CmpInst::ICMP_SGT && Pred != CmpInst::ICMP_SLT) in matchMinMax() 4869 return {Pred == CmpInst::ICMP_SGT ? SPF_SMIN : SPF_SMAX, SPNB_NA, false}; in matchMinMax() 4876 return {Pred == CmpInst::ICMP_SGT ? SPF_SMAX : SPF_SMIN, SPNB_NA, false}; in matchMinMax() 4896 if (Pred == CmpInst::ICMP_SGT && C1->isAllOnesValue() && in matchMinMax() 4906 return {Pred == CmpInst::ICMP_SGT ? SPF_SMIN : SPF_SMAX, SPNB_NA, false}; in matchMinMax() 4912 return {Pred == CmpInst::ICMP_SGT ? SPF_SMAX : SPF_SMIN, SPNB_NA, false}; in matchMinMax() [all …]
|
D | BranchProbabilityInfo.cpp | 756 case CmpInst::ICMP_SGT: in calcZeroHeuristics() 777 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
|
D | ScalarEvolution.cpp | 1362 *Pred = ICmpInst::ICMP_SGT; in getSignedOverflowLimitForStep() 5361 case ICmpInst::ICMP_SGT: in createNodeForSelectOrPHI() 7493 case ICmpInst::ICMP_SGT: in computeExitLimitFromICmp() 7495 bool IsSigned = Pred == ICmpInst::ICMP_SGT; in computeExitLimitFromICmp() 9064 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 9106 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 9111 Pred = ICmpInst::ICMP_SGT; in SimplifyICmpOperands() 9306 case ICmpInst::ICMP_SGT: in isMonotonicPredicateImpl() 9316 Increasing = Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE; in isMonotonicPredicateImpl() 9453 case ICmpInst::ICMP_SGT: in isKnownPredicateViaNoOverflow() [all …]
|
D | LoopInfo.cpp | 265 return ICmpInst::ICMP_SGT; in getCanonicalPredicate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 315 FCmp32Libcalls[CmpInst::FCMP_OGT] = {{RTLIB::OGT_F32, CmpInst::ICMP_SGT}}; in setFCmpLibcallsGNU() 320 FCmp32Libcalls[CmpInst::FCMP_UGT] = {{RTLIB::OLE_F32, CmpInst::ICMP_SGT}}; in setFCmpLibcallsGNU() 325 FCmp32Libcalls[CmpInst::FCMP_ONE] = {{RTLIB::OGT_F32, CmpInst::ICMP_SGT}, in setFCmpLibcallsGNU() 333 FCmp64Libcalls[CmpInst::FCMP_OGT] = {{RTLIB::OGT_F64, CmpInst::ICMP_SGT}}; in setFCmpLibcallsGNU() 338 FCmp64Libcalls[CmpInst::FCMP_UGT] = {{RTLIB::OLE_F64, CmpInst::ICMP_SGT}}; in setFCmpLibcallsGNU() 343 FCmp64Libcalls[CmpInst::FCMP_ONE] = {{RTLIB::OGT_F64, CmpInst::ICMP_SGT}, in setFCmpLibcallsGNU()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 89 if (Pred == ICmpInst::ICMP_SGT) { in isSignTest() 1134 return new ICmpInst(ICmpInst::ICMP_SGT, X, in foldICmpAddOpConst() 1144 assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE); in foldICmpAddOpConst() 1398 if (Pred == ICmpInst::ICMP_SGT) { in foldICmpWithZero() 1586 return new ICmpInst(ICmpInst::ICMP_SGT, X, in foldICmpXorConstant() 2002 if (Pred == ICmpInst::ICMP_SGT) in foldICmpShlOne() 2012 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) in foldICmpShlOne() 2048 if (Pred == ICmpInst::ICMP_SGT) { in foldICmpShlConstant() 2197 if (Pred == CmpInst::ICMP_SLT || (Pred == CmpInst::ICMP_SGT && IsExact)) { in foldICmpShrConstant() 2204 if (Pred == CmpInst::ICMP_SGT) { in foldICmpShrConstant() [all …]
|
D | InstCombineSelect.cpp | 550 if ((Pred != ICmpInst::ICMP_SGT || in foldSelectICmpLshrAshr() 615 IC->getPredicate() == ICmpInst::ICMP_SGT) { in foldSelectICmpAndOr() 618 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_SGT; in foldSelectICmpAndOr() 922 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_SGT) in adjustMinMax() 1276 case ICmpInst::Predicate::ICMP_SGT: in canonicalizeClampLike() 1458 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in foldSelectInstWithICmp() 1803 if (Pred == ICmpInst::ICMP_SGT && IsZeroOrOne(*C + 1) && in foldOverflowingAddSubSelect() 1814 if (Op == X && Pred == ICmpInst::ICMP_SGT && IsZeroOrOne(*C + 2) && in foldOverflowingAddSubSelect() 1824 if (Op == Y && Pred == ICmpInst::ICMP_SGT && IsZeroOrOne(*C + 1) && in foldOverflowingAddSubSelect()
|
D | InstCombineAndOrXor.cpp | 764 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck() 1337 case ICmpInst::ICMP_SGT: in foldAndOfICmps() 2399 case ICmpInst::ICMP_SGT: in foldOrOfICmps() 2435 case ICmpInst::ICMP_SGT: // (X s< 13 | X s> 15) -> (X-13) u> 2 in foldOrOfICmps() 2827 if ((PredL == CmpInst::ICMP_SGT && match(LHS1, m_AllOnes()) && in foldXorOfICmps() 2828 PredR == CmpInst::ICMP_SGT && match(RHS1, m_AllOnes())) || in foldXorOfICmps() 2836 if ((PredL == CmpInst::ICMP_SGT && match(LHS1, m_AllOnes()) && in foldXorOfICmps() 2839 PredR == CmpInst::ICMP_SGT && match(RHS1, m_AllOnes()))) { in foldXorOfICmps()
|
D | InstCombineCasts.cpp | 858 (Cmp->getPredicate() == ICmpInst::ICMP_SGT && Op1CV->isAllOnesValue())) { in transformZExtICmp() 868 if (Cmp->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp() 1236 (Pred == ICmpInst::ICMP_SGT && match(Op1, m_AllOnes()))) { in transformSExtICmp() 1245 if (Pred == ICmpInst::ICMP_SGT) in transformSExtICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 210 case naclbitc::ICMP_SGT: in DecodeIcmpPredicate() 211 LLVMPredicate = CmpInst::ICMP_SGT; in DecodeIcmpPredicate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 306 case ICmpInst::ICMP_SGT: in INITIALIZE_PASS_DEPENDENCY() 648 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeDecreasingBound() 669 IsSigned ? CmpInst::ICMP_SGT : CmpInst::ICMP_UGT; in isSafeDecreasingBound() 698 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeIncreasingBound() 899 Pred = ICmpInst::ICMP_SGT; in parseLoopStructure() 908 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 950 Pred = ICmpInst::ICMP_SGT; in parseLoopStructure() 971 bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT); in parseLoopStructure() 982 Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGT; in parseLoopStructure() 1279 : (IsSignedPredicate ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT); in changeIterationSpaceEnd()
|
D | Float2Int.cpp | 92 return CmpInst::ICMP_SGT; in mapFCmpPred()
|
/third_party/skia/third_party/externals/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() 1894 case ICmpInst::ICMP_SGT: return ConstantInt::get(ResultTy, V1.sgt(V2)); in ConstantFoldCompareInstruction() 2055 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() 2067 case ICmpInst::ICMP_SGT: in ConstantFoldCompareInstruction() 2069 case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3539 case ICMP_SGT: return ICMP_SLE; in getInversePredicate() 3542 case ICMP_SLE: return ICMP_SGT; in getInversePredicate() 3584 case ICmpInst::ICMP_SGT: return "sgt"; in getPredicateName() 3599 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate() 3601 case ICMP_UGT: return ICMP_SGT; in getSignedPredicate() 3614 case ICMP_SGT: return ICMP_UGT; in getUnsignedPredicate() 3624 case ICMP_SGT: return ICMP_SGE; in getFlippedStrictnessPredicate() 3626 case ICMP_SGE: return ICMP_SGT; in getFlippedStrictnessPredicate() 3649 case ICMP_SGT: return ICMP_SLT; in getSwappedPredicate() 3650 case ICMP_SLT: return ICMP_SGT; in getSwappedPredicate() [all …]
|
D | AutoUpgrade.cpp | 1176 Pred = IsSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in upgradeX86vpcom() 1278 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_SGT, Op0, Zero); in upgradeAbs() 1372 case 6: Pred = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in upgradeMaskedCompare() 1801 Rep = Builder.CreateICmp(CmpEq ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_SGT, in UpgradeIntrinsicCall() 2044 Rep = upgradeIntMinMax(Builder, *CI, ICmpInst::ICMP_SGT); in UpgradeIntrinsicCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 295 ICMP_SGT = 38, ///< signed greater than enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 250 } else if (Pred == CmpInst::ICMP_SGT && Const->isMinusOne()) { in convertICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 771 P = CmpInst::ICMP_SGT; in createMinMaxOp() 1029 auto Predicate = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in cannotBeMinInLoop()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | LLVMReactor.cpp | 134 llvm::Value *cmp = jit->builder->CreateICmp(llvm::ICmpInst::ICMP_SGT, v, zero); in lowerPABS() 291 x = lowerPMINMAX(x, min, llvm::ICmpInst::ICMP_SGT); in lowerPack() 293 y = lowerPMINMAX(y, min, llvm::ICmpInst::ICMP_SGT); in lowerPack() 1983 …return As<Byte8>(V(lowerPCMP(llvm::ICmpInst::ICMP_SGT, V(x.value()), V(y.value()), T(Byte8::type()… in CmpGT() 2080 return RValue<Short4>(V(lowerPMINMAX(V(x.value()), V(y.value()), llvm::ICmpInst::ICMP_SGT))); in Max() 2162 …return As<Short4>(V(lowerPCMP(llvm::ICmpInst::ICMP_SGT, V(x.value()), V(y.value()), T(Short4::type… in CmpGT() 3850 return As<Short4>(V(lowerPMINMAX(V(x.value()), V(y.value()), llvm::ICmpInst::ICMP_SGT))); in pmaxsw() 3860 …return As<Short4>(V(lowerPCMP(llvm::ICmpInst::ICMP_SGT, V(x.value()), V(y.value()), T(Short4::type… in pcmpgtw() 3870 …return As<Byte8>(V(lowerPCMP(llvm::ICmpInst::ICMP_SGT, V(x.value()), V(y.value()), T(Byte8::type()… in pcmpgtb() 3975 return RValue<Int4>(V(lowerPMINMAX(V(x.value()), V(y.value()), llvm::ICmpInst::ICMP_SGT))); in pmaxsd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 39 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT)); in describeFuzzerIntOps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 265 Pred = CmpInst::ICMP_SGT; in buildNonAtomicBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | Analysis.cpp | 248 case ICmpInst::ICMP_SGT: return ISD::SETGT; in getICmpCondCode()
|