Lines Matching refs:Depth
2430 bool SelectionDAG::SignBitIsZero(SDValue Op, unsigned Depth) const { in SignBitIsZero()
2432 return MaskedValueIsZero(Op, APInt::getSignMask(BitWidth), Depth); in SignBitIsZero()
2439 unsigned Depth) const { in MaskedValueIsZero()
2440 return Mask.isSubsetOf(computeKnownBits(V, Depth).Zero); in MaskedValueIsZero()
2448 unsigned Depth) const { in MaskedValueIsZero()
2449 return Mask.isSubsetOf(computeKnownBits(V, DemandedElts, Depth).Zero); in MaskedValueIsZero()
2454 unsigned Depth) const { in MaskedValueIsAllOnes()
2455 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); in MaskedValueIsAllOnes()
2463 APInt &UndefElts, unsigned Depth) { in isSplatValue() argument
2470 if (Depth >= MaxRecursionDepth) in isSplatValue()
2489 if (isSplatValue(LHS, DemandedElts, UndefLHS, Depth + 1) && in isSplatValue()
2490 isSplatValue(RHS, DemandedElts, UndefRHS, Depth + 1)) { in isSplatValue()
2500 return isSplatValue(V.getOperand(0), DemandedElts, UndefElts, Depth + 1); in isSplatValue()
2558 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue()
2732 KnownBits SelectionDAG::computeKnownBits(SDValue Op, unsigned Depth) const { in computeKnownBits()
2745 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits()
2752 unsigned Depth) const { in computeKnownBits()
2771 if (Depth >= MaxRecursionDepth) in computeKnownBits()
2793 Known2 = computeKnownBits(SrcOp, Depth + 1); in computeKnownBits()
2839 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits()
2847 Known2 = computeKnownBits(RHS, DemandedRHS, Depth + 1); in computeKnownBits()
2863 Known2 = computeKnownBits(Sub, DemandedSub, Depth + 1); in computeKnownBits()
2886 Known = computeKnownBits(Sub, DemandedSubElts, Depth + 1); in computeKnownBits()
2891 Known2 = computeKnownBits(Src, DemandedSrcElts, Depth + 1); in computeKnownBits()
2905 Known = computeKnownBits(Src, DemandedSrcElts, Depth + 1); in computeKnownBits()
2915 Known = computeKnownBits(N0, Depth + 1); in computeKnownBits()
2932 Known = computeKnownBits(N0, DemandedElts, Depth + 1); in computeKnownBits()
2954 Depth + 1); in computeKnownBits()
2973 Known2 = computeKnownBits(N0, SubDemandedElts, Depth + 1); in computeKnownBits()
2990 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
2991 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
2996 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
2997 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3002 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3003 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3008 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3009 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3014 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3015 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3020 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3021 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3027 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3028 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3037 Known = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3038 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3046 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3047 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3053 Known = computeKnownBits(Op.getOperand(2), DemandedElts, Depth+1); in computeKnownBits()
3057 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth+1); in computeKnownBits()
3063 Known = computeKnownBits(Op.getOperand(3), DemandedElts, Depth+1); in computeKnownBits()
3067 Known2 = computeKnownBits(Op.getOperand(2), DemandedElts, Depth+1); in computeKnownBits()
3097 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3098 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3107 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3108 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3117 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3118 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3131 DemandedElts, Depth + 1); in computeKnownBits()
3137 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3138 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3155 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3162 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3171 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3179 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3254 Known = computeKnownBits(Op.getOperand(0), InDemandedElts, Depth + 1); in computeKnownBits()
3259 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3266 Known = computeKnownBits(Op.getOperand(0), InDemandedElts, Depth + 1); in computeKnownBits()
3273 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3282 Known = computeKnownBits(Op.getOperand(0), InDemandedElts, Depth + 1); in computeKnownBits()
3287 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3292 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3299 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits()
3333 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3334 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3371 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3372 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3377 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3378 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3383 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3384 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3389 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits()
3424 Known = computeKnownBits(InVec, DemandedSrcElts, Depth + 1); in computeKnownBits()
3447 Known2 = computeKnownBits(InVal, Depth + 1); in computeKnownBits()
3451 Known2 = computeKnownBits(InVec, DemandedVecElts, Depth + 1); in computeKnownBits()
3457 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3462 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3467 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3473 Known2 = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3478 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3479 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3484 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3485 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3520 Known = computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBits()
3521 Known2 = computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in computeKnownBits()
3578 TLI->computeKnownBitsForTargetNode(Op, Known, DemandedElts, *this, Depth); in computeKnownBits()
3658 unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const { in ComputeNumSignBits()
3668 return ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeNumSignBits()
3672 unsigned Depth) const { in ComputeNumSignBits()
3685 if (Depth >= MaxRecursionDepth) in ComputeNumSignBits()
3708 Tmp2 = ComputeNumSignBits(SrcOp, Depth + 1); in ComputeNumSignBits()
3742 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1); in ComputeNumSignBits()
3744 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedRHS, Depth + 1); in ComputeNumSignBits()
3765 return ComputeNumSignBits(N0, DemandedElts, Depth + 1); in ComputeNumSignBits()
3780 Tmp = ComputeNumSignBits(N0, SrcDemandedElts, Depth + 1); in ComputeNumSignBits()
3802 return ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1) + Tmp; in ComputeNumSignBits()
3807 Tmp2 = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1); in ComputeNumSignBits()
3814 return ComputeNumSignBits(Src, DemandedSrcElts, Depth+1) + Tmp; in ComputeNumSignBits()
3817 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3827 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3836 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1); in ComputeNumSignBits()
3838 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth+1); in ComputeNumSignBits()
3848 Tmp = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth+1); in ComputeNumSignBits()
3850 Tmp2 = ComputeNumSignBits(Op.getOperand(2), DemandedElts, Depth+1); in ComputeNumSignBits()
3853 Tmp = ComputeNumSignBits(Op.getOperand(2), DemandedElts, Depth+1); in ComputeNumSignBits()
3855 Tmp2 = ComputeNumSignBits(Op.getOperand(3), DemandedElts, Depth+1); in ComputeNumSignBits()
3879 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3882 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth + 1); in ComputeNumSignBits()
3887 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3890 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth + 1); in ComputeNumSignBits()
3920 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3943 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3951 computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3964 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth + 1); in ComputeNumSignBits()
3968 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth + 1); in ComputeNumSignBits()
3976 computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in ComputeNumSignBits()
3992 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
3997 unsigned SignBitsOp0 = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in ComputeNumSignBits()
4000 unsigned SignBitsOp1 = ComputeNumSignBits(Op.getOperand(1), Depth + 1); in ComputeNumSignBits()
4012 return ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1); in ComputeNumSignBits()
4016 unsigned NumSrcSignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in ComputeNumSignBits()
4022 const int KnownSign = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
4054 Tmp2 = ComputeNumSignBits(InVal, Depth + 1); in ComputeNumSignBits()
4058 Tmp2 = ComputeNumSignBits(InVec, DemandedVecElts, Depth + 1); in ComputeNumSignBits()
4089 return ComputeNumSignBits(InVec, DemandedSrcElts, Depth + 1); in ComputeNumSignBits()
4100 return ComputeNumSignBits(Src, DemandedSrcElts, Depth + 1); in ComputeNumSignBits()
4114 Tmp2 = ComputeNumSignBits(Op.getOperand(i), DemandedSub, Depth + 1); in ComputeNumSignBits()
4133 Tmp = ComputeNumSignBits(Sub, DemandedSubElts, Depth + 1); in ComputeNumSignBits()
4138 Tmp2 = ComputeNumSignBits(Src, DemandedSrcElts, Depth + 1); in ComputeNumSignBits()
4226 TLI->ComputeNumSignBitsForTargetNode(Op, DemandedElts, *this, Depth); in ComputeNumSignBits()
4233 KnownBits Known = computeKnownBits(Op, DemandedElts, Depth); in ComputeNumSignBits()
4252 unsigned Depth) const { in isGuaranteedNotToBeUndefOrPoison()
4265 return isGuaranteedNotToBeUndefOrPoison(Op, DemandedElts, PoisonOnly, Depth); in isGuaranteedNotToBeUndefOrPoison()
4271 unsigned Depth) const { in isGuaranteedNotToBeUndefOrPoison()
4278 if (Depth >= MaxRecursionDepth) in isGuaranteedNotToBeUndefOrPoison()
4299 Op, DemandedElts, *this, PoisonOnly, Depth); in isGuaranteedNotToBeUndefOrPoison()
4318 bool SelectionDAG::isKnownNeverNaN(SDValue Op, bool SNaN, unsigned Depth) const { in isKnownNeverNaN()
4323 if (Depth >= MaxRecursionDepth) in isKnownNeverNaN()
4359 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4364 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4367 return isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4368 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4373 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4382 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaN()
4383 isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4384 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4401 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) || in isKnownNeverNaN()
4402 isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaN()
4410 return (isKnownNeverNaN(Op.getOperand(0), false, Depth + 1) && in isKnownNeverNaN()
4411 isKnownNeverSNaN(Op.getOperand(1), Depth + 1)) || in isKnownNeverNaN()
4412 (isKnownNeverNaN(Op.getOperand(1), false, Depth + 1) && in isKnownNeverNaN()
4413 isKnownNeverSNaN(Op.getOperand(0), Depth + 1)); in isKnownNeverNaN()
4418 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaN()
4419 isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaN()
4422 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4429 return TLI->isKnownNeverNaNForTargetNode(Op, *this, SNaN, Depth); in isKnownNeverNaN()
9839 unsigned Depth) const { in reachesChainWithoutSideEffects()
9844 if (Depth == 0) return false; in reachesChainWithoutSideEffects()
9864 return Op.reachesChainWithoutSideEffects(Dest, Depth - 1); in reachesChainWithoutSideEffects()
9871 return Ld->getChain().reachesChainWithoutSideEffects(Dest, Depth-1); in reachesChainWithoutSideEffects()