Searched refs:AllocaTy (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 115 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in packArgsIntoNVPTXFormatBuffer() local 116 llvm::Value *Alloca = CGF->CreateTempAlloca(AllocaTy); in packArgsIntoNVPTXFormatBuffer() 119 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1); in packArgsIntoNVPTXFormatBuffer() 125 return {BufferPtr, DL.getTypeAllocSize(AllocaTy)}; in packArgsIntoNVPTXFormatBuffer()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2338 Type *AllocaTy, in isIntegerWideningViableForSlice() argument 2341 uint64_t Size = DL.getTypeStoreSize(AllocaTy).getFixedValue(); in isIntegerWideningViableForSlice() 2381 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice() 2406 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice() 2429 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy, in isIntegerWideningViable() argument 2431 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy).getFixedValue(); in isIntegerWideningViable() 2437 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy).getFixedValue()) in isIntegerWideningViable() 2443 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() 2444 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable() 2445 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 735 Type *AllocaTy = Alloca.getAllocatedType(); in tryPromoteAllocaToVector() local 736 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector() 737 if (auto *ArrayTy = dyn_cast<ArrayType>(AllocaTy)) { in tryPromoteAllocaToVector() 911 LLVM_DEBUG(dbgs() << " Converting alloca to vector " << *AllocaTy << " -> " in tryPromoteAllocaToVector()
|