Searched refs:AllocaTy (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp107 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); local
108 llvm::Value *Alloca = CreateTempAlloca(AllocaTy);
111 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp368 SequentialType *AllocaTy = dyn_cast<SequentialType>(AT); local
376 if (!AllocaTy ||
377 AllocaTy->getNumElements() > 16 ||
378 AllocaTy->getNumElements() < 2 ||
379 !VectorType::isValidElementType(AllocaTy->getElementType())) {
415 VectorType *VectorTy = dyn_cast<VectorType>(AllocaTy);
417 VectorTy = arrayTypeToVecType(cast<ArrayType>(AllocaTy));
419 LLVM_DEBUG(dbgs() << " Converting alloca to vector " << *AllocaTy << " -> "
728 Type *AllocaTy = I.getAllocatedType(); local
775 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy);
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2000 Type *AllocaTy,
2003 uint64_t Size = DL.getTypeStoreSize(AllocaTy);
2034 !canConvertValue(DL, AllocaTy, LI->getType())) {
2059 !canConvertValue(DL, ValueTy, AllocaTy)) {
2085 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy,
2087 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy);
2093 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy))
2099 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits);
2100 if (!canConvertValue(DL, AllocaTy, IntTy) ||
2101 !canConvertValue(DL, IntTy, AllocaTy))
[all...]

Completed in 117 milliseconds