Lines Matching refs:DemandedElts
876 Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, in SimplifyDemandedVectorElts() argument
881 assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"); in SimplifyDemandedVectorElts()
889 if (DemandedElts == 0) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts()
900 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
908 if (!DemandedElts[i]) { // If not demanded, set to undef. in SimplifyDemandedVectorElts()
946 DemandedElts = EltMask; in SimplifyDemandedVectorElts()
965 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
974 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts()
981 APInt DemandedElts2 = DemandedElts; in SimplifyDemandedVectorElts()
997 if (DemandedElts[i]) { in SimplifyDemandedVectorElts()
1025 } else if (!DemandedElts[i]) { in SimplifyDemandedVectorElts()
1057 APInt LeftDemanded(DemandedElts), RightDemanded(DemandedElts); in SimplifyDemandedVectorElts()
1098 InputDemandedElts = DemandedElts; in SimplifyDemandedVectorElts()
1105 if (DemandedElts[OutIdx]) in SimplifyDemandedVectorElts()
1113 if (DemandedElts[InIdx / Ratio]) in SimplifyDemandedVectorElts()
1158 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, UndefElts, in SimplifyDemandedVectorElts()
1161 TmpV = SimplifyDemandedVectorElts(I->getOperand(1), DemandedElts, in SimplifyDemandedVectorElts()
1171 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, UndefElts, in SimplifyDemandedVectorElts()
1192 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
1195 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(1), DemandedElts, in SimplifyDemandedVectorElts()
1201 if (DemandedElts == 1) { in SimplifyDemandedVectorElts()