Lines Matching refs:DemandedSrcElts
713 APInt DemandedSrcElts = APInt::getZero(NumSrcElts); in SimplifyMultipleUseDemandedBits() local
722 DemandedSrcElts.setBit((j * Scale) + i); in SimplifyMultipleUseDemandedBits()
727 Src, DemandedSrcBits, DemandedSrcElts, DAG, Depth + 1)) in SimplifyMultipleUseDemandedBits()
736 APInt DemandedSrcElts = APInt::getZero(NumSrcElts); in SimplifyMultipleUseDemandedBits() local
741 DemandedSrcElts.setBit(i / Scale); in SimplifyMultipleUseDemandedBits()
745 Src, DemandedSrcBits, DemandedSrcElts, DAG, Depth + 1)) in SimplifyMultipleUseDemandedBits()
1263 APInt DemandedSrcElts = DemandedElts; in SimplifyDemandedBits() local
1264 DemandedSrcElts.insertBits(APInt::getZero(NumSubElts), Idx); in SimplifyDemandedBits()
1270 if (SimplifyDemandedBits(Src, DemandedBits, DemandedSrcElts, KnownSrc, TLO, in SimplifyDemandedBits()
1278 if (!!DemandedSrcElts) in SimplifyDemandedBits()
1283 !DemandedSrcElts.isAllOnes()) { in SimplifyDemandedBits()
1287 Src, DemandedBits, DemandedSrcElts, TLO.DAG, Depth + 1); in SimplifyDemandedBits()
1307 APInt DemandedSrcElts = DemandedElts.zext(NumSrcElts).shl(Idx); in SimplifyDemandedBits() local
1309 if (SimplifyDemandedBits(Src, DemandedBits, DemandedSrcElts, Known, TLO, in SimplifyDemandedBits()
1314 if (!DemandedBits.isAllOnes() || !DemandedSrcElts.isAllOnes()) { in SimplifyDemandedBits()
1316 Src, DemandedBits, DemandedSrcElts, TLO.DAG, Depth + 1); in SimplifyDemandedBits()
2649 APInt DemandedSrcElts = APInt::getAllOnes(NumSrcElts); in SimplifyDemandedBits() local
2652 DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue()); in SimplifyDemandedBits()
2660 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, Known2, TLO, in SimplifyDemandedBits()
2665 if (!DemandedSrcBits.isAllOnes() || !DemandedSrcElts.isAllOnes()) { in SimplifyDemandedBits()
2667 Src, DemandedSrcBits, DemandedSrcElts, TLO.DAG, Depth + 1)) { in SimplifyDemandedBits()
2716 APInt DemandedSrcElts = APInt::getZero(NumSrcElts); in SimplifyDemandedBits() local
2725 DemandedSrcElts.setBit((j * Scale) + i); in SimplifyDemandedBits()
2730 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, KnownSrcUndef, in SimplifyDemandedBits()
2735 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2743 APInt DemandedSrcElts = APInt::getZero(NumSrcElts); in SimplifyDemandedBits() local
2748 DemandedSrcElts.setBit(i / Scale); in SimplifyDemandedBits()
2753 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, KnownSrcUndef, in SimplifyDemandedBits()
2759 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2764 if (!DemandedSrcBits.isAllOnes() || !DemandedSrcElts.isAllOnes()) { in SimplifyDemandedBits()
2766 Src, DemandedSrcBits, DemandedSrcElts, TLO.DAG, Depth + 1)) { in SimplifyDemandedBits()
3315 APInt DemandedSrcElts = DemandedElts; in SimplifyDemandedVectorElts() local
3316 DemandedSrcElts.insertBits(APInt::getZero(NumSubElts), Idx); in SimplifyDemandedVectorElts()
3324 if (!DemandedSrcElts && !Src.isUndef()) in SimplifyDemandedVectorElts()
3329 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, KnownUndef, KnownZero, in SimplifyDemandedVectorElts()
3336 if (!DemandedSrcElts.isAllOnes() || !DemandedSubElts.isAllOnes()) { in SimplifyDemandedVectorElts()
3338 Src, DemandedSrcElts, TLO.DAG, Depth + 1); in SimplifyDemandedVectorElts()
3358 APInt DemandedSrcElts = DemandedElts.zext(NumSrcElts).shl(Idx); in SimplifyDemandedVectorElts() local
3361 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorElts()
3370 Src, DemandedSrcElts, TLO.DAG, Depth + 1); in SimplifyDemandedVectorElts()
3527 APInt DemandedSrcElts = DemandedElts.zext(NumSrcElts); in SimplifyDemandedVectorElts() local
3528 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorElts()
3536 DemandedSrcElts == 1) { in SimplifyDemandedVectorElts()
3549 if (IsLE && DemandedSrcElts == 1 && Src.getOpcode() == ISD::AND && in SimplifyDemandedVectorElts()