Lines Matching refs:DemandedElts
916 Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, in SimplifyDemandedVectorElts() argument
921 assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"); in SimplifyDemandedVectorElts()
929 if (DemandedElts == 0) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts()
940 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
948 if (!DemandedElts[i]) { // If not demanded, set to undef. in SimplifyDemandedVectorElts()
986 DemandedElts = EltMask; in SimplifyDemandedVectorElts()
1005 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
1014 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts()
1021 APInt DemandedElts2 = DemandedElts; in SimplifyDemandedVectorElts()
1037 if (DemandedElts[i]) { in SimplifyDemandedVectorElts()
1065 } else if (!DemandedElts[i]) { in SimplifyDemandedVectorElts()
1097 APInt LeftDemanded(DemandedElts), RightDemanded(DemandedElts); in SimplifyDemandedVectorElts()
1131 InputDemandedElts = DemandedElts; in SimplifyDemandedVectorElts()
1141 if (DemandedElts[OutIdx]) in SimplifyDemandedVectorElts()
1153 if (DemandedElts[InIdx/Ratio]) in SimplifyDemandedVectorElts()
1193 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
1196 TmpV = SimplifyDemandedVectorElts(I->getOperand(1), DemandedElts, in SimplifyDemandedVectorElts()
1206 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
1227 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
1230 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(1), DemandedElts, in SimplifyDemandedVectorElts()
1236 if (DemandedElts == 1) { in SimplifyDemandedVectorElts()