Lines Matching refs:VecEltTy
488 Type *VecEltTy = VectorTy->getElementType(); in promoteAllocaUserToVector() local
518 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector()
519 const unsigned NumLoadedElts = AccessSize / DL.getTypeStoreSize(VecEltTy); in promoteAllocaUserToVector()
520 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumLoadedElts); in promoteAllocaUserToVector()
543 if (AccessTy != VecEltTy) in promoteAllocaUserToVector()
573 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector()
575 AccessSize / DL.getTypeStoreSize(VecEltTy); in promoteAllocaUserToVector()
577 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumWrittenElts); in promoteAllocaUserToVector()
598 if (Val->getType() != VecEltTy) in promoteAllocaUserToVector()
599 Val = Builder.CreateBitOrPointerCast(Val, VecEltTy); in promoteAllocaUserToVector()
628 const unsigned BytesPerElt = DL.getTypeStoreSize(VecEltTy); in promoteAllocaUserToVector()
634 if (VecEltTy->isPointerTy()) { in promoteAllocaUserToVector()
637 Elt = Builder.CreateIntToPtr(Elt, VecEltTy); in promoteAllocaUserToVector()
639 Elt = Builder.CreateBitCast(EltBytes, VecEltTy); in promoteAllocaUserToVector()
777 Type *VecEltTy = VectorTy->getElementType(); in tryPromoteAllocaToVector() local
778 unsigned ElementSize = DL->getTypeSizeInBits(VecEltTy) / 8; in tryPromoteAllocaToVector()
818 Value *Index = GEPToVectorIndex(GEP, &Alloca, VecEltTy, *DL); in tryPromoteAllocaToVector()