Home
last modified time | relevance | path

Searched refs:NewNumElts (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp997 unsigned NewNumElts = DemandedElts.countPopulation(); in simplifyAMDGCNMemoryIntrinsicDemanded() local
998 if (!NewNumElts) in simplifyAMDGCNMemoryIntrinsicDemanded()
1001 if (NewNumElts >= VWidth && DemandedElts.isMask()) { in simplifyAMDGCNMemoryIntrinsicDemanded()
1016 (NewNumElts == 1) ? EltTy : FixedVectorType::get(EltTy, NewNumElts); in simplifyAMDGCNMemoryIntrinsicDemanded()
1026 if (NewNumElts == 1) { in simplifyAMDGCNMemoryIntrinsicDemanded()
1038 EltMask.push_back(NewNumElts); in simplifyAMDGCNMemoryIntrinsicDemanded()
DAMDGPULegalizerInfo.cpp110 unsigned NewNumElts = (Ty.getNumElements() + 1) / Pieces; in fewerEltsToSize64Vector() local
111 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector()
128 const int NewNumElts = (32 * NextMul32 + EltSize - 1) / EltSize; in moreEltsToNext32Bit() local
129 return std::make_pair(TypeIdx, LLT::vector(NewNumElts, EltTy)); in moreEltsToNext32Bit()
/external/llvm-project/llvm/include/llvm/Support/
DLowLevelTypeImpl.h143 LLT changeNumElements(unsigned NewNumElts) const { in changeNumElements() argument
144 return LLT::scalarOrVector(NewNumElts, getScalarType()); in changeNumElements()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1043 unsigned NewNumElts = DemandedElts.countPopulation(); in simplifyAMDGCNMemoryIntrinsicDemanded() local
1044 if (!NewNumElts) in simplifyAMDGCNMemoryIntrinsicDemanded()
1047 if (NewNumElts >= VWidth && DemandedElts.isMask()) { in simplifyAMDGCNMemoryIntrinsicDemanded()
1067 Type *NewTy = (NewNumElts == 1) ? EltTy : VectorType::get(EltTy, NewNumElts); in simplifyAMDGCNMemoryIntrinsicDemanded()
1086 if (NewNumElts == 1) { in simplifyAMDGCNMemoryIntrinsicDemanded()
1097 EltMask.push_back(NewNumElts); in simplifyAMDGCNMemoryIntrinsicDemanded()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2455 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt() local
2463 if (NewNumElts > OldNumElts) { in bitcastExtractVectorElt()
2474 if (NewNumElts % OldNumElts != 0) in bitcastExtractVectorElt()
2478 const unsigned NewEltsPerOldElt = NewNumElts / OldNumElts; in bitcastExtractVectorElt()
2499 if (NewNumElts < OldNumElts) { in bitcastExtractVectorElt()
2600 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastInsertVectorElt() local
2604 if (NewNumElts < OldNumElts) { in bitcastInsertVectorElt()
3239 const unsigned NewNumElts = in fewerElementsVectorMultiEltType() local
3261 LLT NarrowTyI = LLT::scalarOrVector(NewNumElts, SrcTyI.getScalarType()); in fewerElementsVectorMultiEltType()
3687 unsigned NewNumElts = NarrowVecTy.getNumElements(); in fewerElementsVectorExtractInsertVectorElt() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp89 unsigned NewNumElts = (Ty.getNumElements() + 1) / Pieces; in fewerEltsToSize64Vector() local
90 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector()
107 const int NewNumElts = (32 * NextMul32 + EltSize - 1) / EltSize; in moreEltsToNext32Bit() local
108 return std::make_pair(TypeIdx, LLT::vector(NewNumElts, EltTy)); in moreEltsToNext32Bit()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp2586 unsigned NewNumElts = WidenSize / InSize; in WidenVecRes_BITCAST() local
2592 NewInVT = EVT::getVectorVT(*DAG.getContext(), InVT, NewNumElts); in WidenVecRes_BITCAST()
2601 SmallVector<SDValue, 16> Ops(NewNumElts); in WidenVecRes_BITCAST()
2604 for (unsigned i = 1; i < NewNumElts; ++i) in WidenVecRes_BITCAST()
3229 unsigned NewNumElts = InWidenSize / Size; in WidenVecOp_BITCAST() local
3230 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), VT, NewNumElts); in WidenVecOp_BITCAST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp3519 unsigned NewNumElts = WidenSize / InSize; in WidenVecRes_BITCAST() local
3525 NewInVT = EVT::getVectorVT(*DAG.getContext(), InVT, NewNumElts); in WidenVecRes_BITCAST()
3536 SmallVector<SDValue, 16> Ops(NewNumElts, DAG.getUNDEF(InVT)); in WidenVecRes_BITCAST()
4410 unsigned NewNumElts = InWidenSize / Size; in WidenVecOp_BITCAST() local
4411 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), VT, NewNumElts); in WidenVecOp_BITCAST()
4428 unsigned NewNumElts = InWidenSize / EltSize; in WidenVecOp_BITCAST() local
4429 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NewNumElts); in WidenVecOp_BITCAST()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp3666 unsigned NewNumElts = WidenSize / InSize; in WidenVecRes_BITCAST() local
3672 NewInVT = EVT::getVectorVT(*DAG.getContext(), InVT, NewNumElts); in WidenVecRes_BITCAST()
3683 SmallVector<SDValue, 16> Ops(NewNumElts, DAG.getUNDEF(InVT)); in WidenVecRes_BITCAST()
4573 unsigned NewNumElts = InWidenSize / Size; in WidenVecOp_BITCAST() local
4574 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), VT, NewNumElts); in WidenVecOp_BITCAST()
4590 unsigned NewNumElts = InWidenSize / EltSize; in WidenVecOp_BITCAST() local
4591 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NewNumElts); in WidenVecOp_BITCAST()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp1404 const unsigned NewNumElts = in LowerTranspose() local
1410 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2465 const unsigned NewNumElts = in fewerElementsVectorMultiEltType() local
2488 LLT NarrowTyI = LLT::scalarOrVector(NewNumElts, SrcTyI.getScalarType()); in fewerElementsVectorMultiEltType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp17375 int NewNumElts = NumElements / 2; in lowerVECTOR_SHUFFLE() local
17376 MVT NewVT = MVT::getVectorVT(NewEltVT, NewNumElts); in lowerVECTOR_SHUFFLE()
17386 for (int i = 0; i != NewNumElts; ++i) in lowerVECTOR_SHUFFLE()
17388 WidenedMask[i] = i + NewNumElts; in lowerVECTOR_SHUFFLE()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp18257 int NewNumElts = NumElements / 2; in lowerVECTOR_SHUFFLE() local
18258 MVT NewVT = MVT::getVectorVT(NewEltVT, NewNumElts); in lowerVECTOR_SHUFFLE()
18268 for (int i = 0; i != NewNumElts; ++i) in lowerVECTOR_SHUFFLE()
18270 WidenedMask[i] = i + NewNumElts; in lowerVECTOR_SHUFFLE()