Lines Matching defs:VectorTy

437 /// \param VectorTy       Vectorized Type.
438 /// \param VecStoreSize Size of \p VectorTy in bytes.
439 /// \param ElementSize Size of \p VectorTy element type in bytes.
449 Instruction *Inst, const DataLayout &DL, FixedVectorType *VectorTy,
467 Builder.CreateLoad(VectorTy, PoisonValue::get(Builder.getPtrTy()),
488 Type *VecEltTy = VectorTy->getElementType();
565 else if (VectorTy->isPtrOrPtrVectorTy())
566 Val = CreateTempPtrIntCast(Val, VectorTy);
567 return Builder.CreateBitOrPointerCast(Val, VectorTy);
576 const unsigned NumVecElts = VectorTy->getNumElements();
613 for (unsigned Idx = 0; Idx < VectorTy->getNumElements(); ++Idx) {
642 return Builder.CreateVectorSplat(VectorTy->getElementCount(), Elt);
649 DL.getTypeAllocSize(VectorTy)));
736 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy);
740 VectorTy = FixedVectorType::get(ArrayTy->getElementType(),
749 if (!VectorTy) {
754 if (VectorTy->getNumElements() > 16 || VectorTy->getNumElements() < 2) {
755 LLVM_DEBUG(dbgs() << " " << *VectorTy
775 LLVM_DEBUG(dbgs() << " Attempting promotion to: " << *VectorTy << "\n");
777 Type *VecEltTy = VectorTy->getElementType();
808 if (!isSupportedAccessType(VectorTy, AccessTy, *DL))
912 << *VectorTy << '\n');
913 const unsigned VecStoreSize = DL->getTypeStoreSize(VectorTy);
918 Updater.Initialize(VectorTy, "promotealloca");
919 Updater.AddAvailableValue(Alloca.getParent(), UndefValue::get(VectorTy));
928 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx,
941 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx,