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

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp108 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); local
109 llvm::Value *Alloca = CreateTempAlloca(AllocaTy);
112 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp436 Type *AllocaTy = Alloca->getAllocatedType(); local
437 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy);
438 if (auto *ArrayTy = dyn_cast<ArrayType>(AllocaTy)) {
448 if (DL.getTypeSizeInBits(AllocaTy) * 4 > Limit) {
517 LLVM_DEBUG(dbgs() << " Converting alloca to vector " << *AllocaTy << " -> "
525 if (Inst->getType() == AllocaTy || Inst->getType()->isVectorTy())
545 if (SI->getValueOperand()->getType() == AllocaTy ||
832 Type *AllocaTy = I.getAllocatedType(); local
876 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1991 Type *AllocaTy,
1994 uint64_t Size = DL.getTypeStoreSize(AllocaTy).getFixedSize();
2025 !canConvertValue(DL, AllocaTy, LI->getType())) {
2050 !canConvertValue(DL, ValueTy, AllocaTy)) {
2076 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy,
2078 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy).getFixedSize();
2084 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy).getFixedSize())
2090 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits);
2091 if (!canConvertValue(DL, AllocaTy, IntTy) ||
2092 !canConvertValue(DL, IntTy, AllocaTy))
[all...]

Completed in 111 milliseconds