Lines Matching refs:IdxVal
3990 static SDValue ExtractSubVector(SDValue Vec, unsigned IdxVal, in ExtractSubVector() argument
4010 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / vectorWidth) in ExtractSubVector()
4029 static SDValue Extract128BitVector(SDValue Vec, unsigned IdxVal, in Extract128BitVector() argument
4033 return ExtractSubVector(Vec, IdxVal, DAG, dl, 128); in Extract128BitVector()
4037 static SDValue Extract256BitVector(SDValue Vec, unsigned IdxVal, in Extract256BitVector() argument
4040 return ExtractSubVector(Vec, IdxVal, DAG, dl, 256); in Extract256BitVector()
4044 unsigned IdxVal, SelectionDAG &DAG, in InsertSubVector() argument
4060 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/vectorWidth) in InsertSubVector()
4073 static SDValue Insert128BitVector(SDValue Result, SDValue Vec, unsigned IdxVal, in Insert128BitVector() argument
4082 if (IdxVal == 0 && Result.getValueType().is256BitVector() && in Insert128BitVector()
4119 return InsertSubVector(Result, Vec, IdxVal, DAG, dl, 128); in Insert128BitVector()
4122 static SDValue Insert256BitVector(SDValue Result, SDValue Vec, unsigned IdxVal, in Insert256BitVector() argument
4125 return InsertSubVector(Result, Vec, IdxVal, DAG, dl, 256); in Insert256BitVector()
10438 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in ExtractBitFromMaskVector() local
10444 DAG.getConstant(MaxSift - IdxVal, MVT::i8)); in ExtractBitFromMaskVector()
10487 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in LowerEXTRACT_VECTOR_ELT() local
10489 Vec = Extract128BitVector(Vec, IdxVal, DAG, dl); in LowerEXTRACT_VECTOR_ELT()
10496 IdxVal -= (IdxVal/ElemsPerChunk)*ElemsPerChunk; in LowerEXTRACT_VECTOR_ELT()
10498 DAG.getConstant(IdxVal, MVT::i32)); in LowerEXTRACT_VECTOR_ELT()
10586 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in InsertBitToMaskVector() local
10590 DAG.getConstant(IdxVal, MVT::i8)); in InsertBitToMaskVector()
10596 DAG.getConstant(MaxSift - IdxVal, MVT::i8)); in InsertBitToMaskVector()
10615 unsigned IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT() local
10622 if (VT.is256BitVector() && IdxVal == 0) { in LowerINSERT_VECTOR_ELT()
10635 SDValue V = Extract128BitVector(N0, IdxVal, DAG, dl); in LowerINSERT_VECTOR_ELT()
10639 unsigned IdxIn128 = IdxVal - (IdxVal / NumEltsIn128) * NumEltsIn128; in LowerINSERT_VECTOR_ELT()
10645 return Insert128BitVector(N0, V, IdxVal, DAG, dl); in LowerINSERT_VECTOR_ELT()
10664 N2 = DAG.getIntPtrConstant(IdxVal); in LowerINSERT_VECTOR_ELT()
10680 if (IdxVal == 0 && (!MinSize || !MayFoldLoad(N1))) { in LowerINSERT_VECTOR_ELT()
10692 N2 = DAG.getIntPtrConstant(IdxVal << 4); in LowerINSERT_VECTOR_ELT()
10713 N2 = DAG.getIntPtrConstant(IdxVal); in LowerINSERT_VECTOR_ELT()
10755 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in LowerEXTRACT_SUBVECTOR() local
10763 return Extract128BitVector(In, IdxVal, DAG, dl); in LowerEXTRACT_SUBVECTOR()
10767 return Extract256BitVector(In, IdxVal, DAG, dl); in LowerEXTRACT_SUBVECTOR()
10789 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in LowerINSERT_SUBVECTOR() local
10797 if ((IdxVal == OpVT.getVectorNumElements() / 2) && in LowerINSERT_SUBVECTOR()
10814 return Insert128BitVector(Vec, SubVec, IdxVal, DAG, dl); in LowerINSERT_SUBVECTOR()
10817 return Insert256BitVector(Vec, SubVec, IdxVal, DAG, dl); in LowerINSERT_SUBVECTOR()
10820 if (IdxVal == 0 && Vec.getOpcode() == ISD::UNDEF) // the operation is legal in LowerINSERT_SUBVECTOR()
10827 if (IdxVal == OpVT.getVectorNumElements() / 2) { in LowerINSERT_SUBVECTOR()
10837 if (IdxVal == 0) { in LowerINSERT_SUBVECTOR()
20621 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in PerformEXTRACT_VECTOR_ELTCombine() local
20622 DAG.ReplaceAllUsesOfValueWith(SDValue(Extract, 0), Vals[IdxVal]); in PerformEXTRACT_VECTOR_ELTCombine()