Lines Matching refs:VectorTy

349     Instruction *Inst, const DataLayout &DL, FixedVectorType *VectorTy,  in promoteAllocaUserToVector()  argument
367 Builder.CreateLoad(VectorTy, PoisonValue::get(Builder.getPtrTy()), in promoteAllocaUserToVector()
388 Type *VecEltTy = VectorTy->getElementType(); in promoteAllocaUserToVector()
462 else if (VectorTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector()
463 Val = CreateTempPtrIntCast(Val, VectorTy); in promoteAllocaUserToVector()
464 return Builder.CreateBitOrPointerCast(Val, VectorTy); in promoteAllocaUserToVector()
472 const unsigned NumVecElts = VectorTy->getNumElements(); in promoteAllocaUserToVector()
509 for (unsigned Idx = 0; Idx < VectorTy->getNumElements(); ++Idx) { in promoteAllocaUserToVector()
538 return Builder.CreateVectorSplat(VectorTy->getElementCount(), Elt); in promoteAllocaUserToVector()
545 DL.getTypeAllocSize(VectorTy))); in promoteAllocaUserToVector()
632 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector() local
636 VectorTy = FixedVectorType::get(ArrayTy->getElementType(), in tryPromoteAllocaToVector()
655 if (!VectorTy) { in tryPromoteAllocaToVector()
660 if (VectorTy->getNumElements() > 16 || VectorTy->getNumElements() < 2) { in tryPromoteAllocaToVector()
661 LLVM_DEBUG(dbgs() << " " << *VectorTy in tryPromoteAllocaToVector()
682 LLVM_DEBUG(dbgs() << " Attempting promotion to: " << *VectorTy << "\n"); in tryPromoteAllocaToVector()
684 Type *VecEltTy = VectorTy->getElementType(); in tryPromoteAllocaToVector()
716 if (!isSupportedAccessType(VectorTy, AccessTy, *DL)) in tryPromoteAllocaToVector()
830 << *VectorTy << '\n'); in tryPromoteAllocaToVector()
831 const unsigned VecStoreSize = DL->getTypeStoreSize(VectorTy); in tryPromoteAllocaToVector()
836 Updater.Initialize(VectorTy, "promotealloca"); in tryPromoteAllocaToVector()
837 Updater.AddAvailableValue(Alloca.getParent(), UndefValue::get(VectorTy)); in tryPromoteAllocaToVector()
846 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector()
859 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector()