Lines Matching refs:DemandedElts

6047 static void getPackDemandedElts(EVT VT, const APInt &DemandedElts,  in getPackDemandedElts()  argument
6050 int NumElts = DemandedElts.getBitWidth(); in getPackDemandedElts()
6063 if (DemandedElts[OuterIdx]) in getPackDemandedElts()
6065 if (DemandedElts[OuterIdx + NumInnerEltsPerLane]) in getPackDemandedElts()
24245 APInt DemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements()); in IsSplatVector() local
24246 if (DAG.isSplatValue(V, DemandedElts, UndefElts)) { in IsSplatVector()
24248 if (DemandedElts.isSubsetOf(UndefElts)) { in IsSplatVector()
24252 SplatIdx = (UndefElts & DemandedElts).countTrailingOnes(); in IsSplatVector()
30076 const APInt &DemandedElts, in computeKnownBitsForTargetNode() argument
30120 Known = DAG.computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in computeKnownBitsForTargetNode()
30142 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in computeKnownBitsForTargetNode()
30192 if (!DemandedElts[i]) in computeKnownBitsForTargetNode()
30231 SDValue Op, const APInt &DemandedElts, const SelectionDAG &DAG, in ComputeNumSignBitsForTargetNode() argument
30254 getPackDemandedElts(Op.getValueType(), DemandedElts, DemandedLHS, in ComputeNumSignBitsForTargetNode()
30274 unsigned Tmp = DAG.ComputeNumSignBits(Src, DemandedElts, Depth + 1); in ComputeNumSignBitsForTargetNode()
30285 unsigned Tmp = DAG.ComputeNumSignBits(Src, DemandedElts, Depth + 1); in ComputeNumSignBitsForTargetNode()
32387 APInt DemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements()); in combineShuffle() local
32388 if (TLI.SimplifyDemandedVectorElts(Op, DemandedElts, KnownUndef, KnownZero, DCI)) in combineShuffle()
32442 SDValue Op, const APInt &DemandedElts, APInt &KnownUndef, APInt &KnownZero, in SimplifyDemandedVectorEltsForTargetNode() argument
32444 int NumElts = DemandedElts.getBitWidth(); in SimplifyDemandedVectorEltsForTargetNode()
32470 if (SimplifyDemandedVectorElts(Src, DemandedElts, SrcUndef, KnownZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
32481 APInt SrcElts = DemandedElts.zextOrTrunc(SrcVT.getVectorNumElements()); in SimplifyDemandedVectorEltsForTargetNode()
32490 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in SimplifyDemandedVectorEltsForTargetNode()
32507 if (DemandedElts == 1) { in SimplifyDemandedVectorEltsForTargetNode()
32524 if (SimplifyDemandedVectorElts(Mask, DemandedElts, MaskUndef, MaskZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
32556 if (!DemandedElts[i]) in SimplifyDemandedVectorEltsForTargetNode()
32580 if (DemandedElts[i]) { in SimplifyDemandedVectorEltsForTargetNode()
32753 APInt DemandedElts = OriginalDemandedBits.zextOrTrunc(NumElts); in SimplifyDemandedBitsForTargetNode() local
32754 if (SimplifyDemandedVectorElts(Src, DemandedElts, KnownUndef, KnownZero, in SimplifyDemandedBitsForTargetNode()
32763 if (SimplifyDemandedBits(Src, APInt::getSignMask(SrcBits), DemandedElts, in SimplifyDemandedBitsForTargetNode()
35787 APInt DemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements()); in combineVectorShiftVar() local
35788 if (TLI.SimplifyDemandedVectorElts(SDValue(N, 0), DemandedElts, KnownUndef, in combineVectorShiftVar()
38999 APInt DemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements()); in combineX86INT_TO_FP() local
39000 if (TLI.SimplifyDemandedVectorElts(SDValue(N, 0), DemandedElts, KnownUndef, in combineX86INT_TO_FP()