Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp479 const unsigned NumPtrElts = cast<FixedVectorType>(PtrTy)->getNumElements(); in promoteAllocaUserToVector() local
482 assert((Size % NumPtrElts == 0) && "Vector size not divisble"); in promoteAllocaUserToVector()
483 Type *EltTy = Builder.getIntNTy(Size / NumPtrElts); in promoteAllocaUserToVector()
485 Val, FixedVectorType::get(EltTy, NumPtrElts)); in promoteAllocaUserToVector()