Lines Matching refs:UndefElts

4733                                           APInt &UndefElts,  in getTargetConstantBitsFromNode()  argument
4760 UndefElts = UndefSrcElts; in getTargetConstantBitsFromNode()
4777 UndefElts = APInt(NumElts, 0); in getTargetConstantBitsFromNode()
4788 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
5000 UndefElts, EltBits, AllowWholeUndefs, in getTargetConstantBitsFromNode()
5006 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx); in getTargetConstantBitsFromNode()
5039 UndefElts = APInt::getZero(NumElts); in getTargetConstantBitsFromNode()
5043 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
5047 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
5051 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
5064 APInt UndefElts; in isConstantSplat() local
5067 Op, Op.getScalarValueSizeInBits(), UndefElts, EltBits, in isConstantSplat()
5071 if (UndefElts[i]) in isConstantSplat()
5093 APInt &UndefElts) { in getTargetShuffleMaskIndices() argument
5096 if (!getTargetConstantBitsFromNode(MaskNode, MaskEltSizeInBits, UndefElts, in getTargetShuffleMaskIndices()
5130 APInt UndefElts; in IsNOT() local
5133 V.getScalarValueSizeInBits(), UndefElts, in IsNOT()
5145 getConstVector(EltBits, UndefElts, VT, DAG, DL)); in IsNOT()
5772 APInt UndefElts; in createShuffleMaskFromVSELECT() local
5774 if (!getTargetConstantBitsFromNode(Cond, EltSizeInBits, UndefElts, EltBits, in createShuffleMaskFromVSELECT()
5786 if (UndefElts[i] || (!IsBLENDV && EltBits[i].isZero()) || in createShuffleMaskFromVSELECT()
5839 APInt UndefElts; in getFauxShuffleMask() local
5845 if (!getTargetConstantBitsFromNode(IsAndN ? N0 : N1, 8, UndefElts, EltBits, in getFauxShuffleMask()
5851 assert(UndefElts.isZero() && "Unexpected UNDEF element in AND/ANDNP mask"); in getFauxShuffleMask()
23449 APInt UndefElts; in LowerVSETCC() local
23452 BC0.getOperand(1), VT.getScalarSizeInBits(), UndefElts, EltBits, in LowerVSETCC()
29424 APInt UndefElts; in convertShiftLeftToScale() local
29426 if (getTargetConstantBitsFromNode(Amt, SVTBits, UndefElts, EltBits)) { in convertShiftLeftToScale()
29430 if (UndefElts[I] || EltBits[I].uge(SVTBits)) in convertShiftLeftToScale()
37505 APInt UndefElts; in computeKnownBitsForTargetNode() local
37507 if (getTargetConstantBitsFromNode(Op, BitWidth, UndefElts, EltBits, in computeKnownBitsForTargetNode()
37515 if (UndefElts[I]) { in computeKnownBitsForTargetNode()
39068 APInt UndefElts(NumMaskElts, 0); in combineX86ShuffleChain() local
39073 UndefElts.setBit(i); in combineX86ShuffleChain()
39080 SDValue BitMask = getConstVector(EltBits, UndefElts, MaskVT, DAG, DL); in combineX86ShuffleChain()
39606 APInt UndefElts(NumMaskElts, 0); in combineX86ShufflesConstants() local
39614 UndefElts.setBit(i); in combineX86ShufflesConstants()
39627 UndefElts.setBit(i); in combineX86ShufflesConstants()
39641 assert((UndefElts | ZeroElts | ConstantElts).isAllOnes()); in combineX86ShufflesConstants()
39644 if ((UndefElts | ZeroElts).isAllOnes()) in combineX86ShufflesConstants()
39658 SDValue CstOp = getConstVector(ConstantBitData, UndefElts, MaskVT, DAG, DL); in combineX86ShufflesConstants()
40017 APInt UndefElts; in combineX86ShufflesRecursively() local
40020 return getTargetConstantBitsFromNode(Op, EltSizeInBits, UndefElts, in combineX86ShufflesRecursively()
42130 APInt UndefElts; in SimplifyDemandedVectorEltsForTargetNode() local
42136 if (getTargetConstantBitsFromNode(Op, EltSizeInBits, UndefElts, in SimplifyDemandedVectorEltsForTargetNode()
42143 if (UndefElts[I]) { in SimplifyDemandedVectorEltsForTargetNode()
43344 APInt &UndefElts, in isSplatValueForTargetNode() argument
43353 UndefElts = APInt::getZero(NumElts); in isSplatValueForTargetNode()
43357 return TargetLowering::isSplatValueForTargetNode(Op, DemandedElts, UndefElts, in isSplatValueForTargetNode()
43975 APInt UndefElts; in combineBitcast() local
43977 if (getTargetConstantBitsFromNode(N0, 64, UndefElts, EltBits, in combineBitcast()
48497 auto &UndefElts = (Elt >= NumSrcEltsPerLane ? UndefElts1 : UndefElts0); in combineVectorPack() local
48500 if (UndefElts[SrcIdx]) { in combineVectorPack()
48671 APInt UndefElts; in combineVectorShiftVar() local
48673 if (getTargetConstantBitsFromNode(N1, 64, UndefElts, EltBits, in combineVectorShiftVar()
48787 APInt UndefElts; in combineVectorShiftImm() local
48789 if (!getTargetConstantBitsFromNode(V, NumBitsPerElt, UndefElts, EltBits, in combineVectorShiftImm()
48800 if (UndefElts[i]) in combineVectorShiftImm()
48810 UndefElts = 0; in combineVectorShiftImm()
48811 return getConstVector(EltBits, UndefElts, VT.getSimpleVT(), DAG, SDLoc(N)); in combineVectorShiftImm()
50026 APInt UndefElts; in combineAnd() local
50032 if (getTargetConstantBitsFromNode(Op, EltSizeInBits, UndefElts, in combineAnd()
50037 if (UndefElts[I]) { in combineAnd()
50080 APInt UndefElts; in combineAnd() local
50083 getTargetConstantBitsFromNode(BitMask, 8, UndefElts, EltBits) && in combineAnd()
50094 if (UndefElts[i]) in combineAnd()
50664 APInt UndefElts; in combineOrXorWithSETCC() local
50667 VT.getScalarSizeInBits(), UndefElts, in combineOrXorWithSETCC()
50671 IsPow2OrUndef &= UndefElts[I] || EltBits[I].isPowerOf2(); in combineOrXorWithSETCC()
50809 APInt UndefElts; in combineOr() local
50813 if (!getTargetConstantBitsFromNode(Op, EltSizeInBits, UndefElts, EltBits)) in combineOr()
52746 APInt UndefElts; in isFNEG() local
52750 if (getTargetConstantBitsFromNode(Op1, ScalarSize, UndefElts, EltBits, in isFNEG()
52754 if (!UndefElts[I] && !EltBits[I].isSignMask()) in isFNEG()
53537 APInt UndefElts; in combineAndnp() local
53541 if (getTargetConstantBitsFromNode(Op, EltSizeInBits, UndefElts, in combineAndnp()
53546 if (UndefElts[I]) { in combineAndnp()
54505 APInt UndefElts; in combineMOVMSK() local
54507 if (getTargetConstantBitsFromNode(Src, NumBitsPerElt, UndefElts, EltBits, in combineMOVMSK()
54512 if (!UndefElts[Idx] && EltBits[Idx].isNegative()) in combineMOVMSK()
54583 APInt UndefElts; in combineMOVMSK() local
54586 UndefElts, EltBits)) { in combineMOVMSK()
54589 if (!UndefElts[Idx] && EltBits[Idx].isNegative()) in combineMOVMSK()
54720 BitVector UndefElts; in combineGatherScatter() local
54721 if (ConstantSDNode *C = BV->getConstantSplatNode(&UndefElts)) { in combineGatherScatter()
54723 if (UndefElts.none()) { in combineGatherScatter()
56680 APInt UndefElts = APInt::getZero(VT.getVectorNumElements()); in combineConcatVectorOps() local
56689 UndefElts.insertBits(OpUndefElts, I * OpUndefElts.getBitWidth()); in combineConcatVectorOps()
56692 Constant *C = getConstantVector(VT, EltBits, UndefElts, Ctx); in combineConcatVectorOps()