Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp115 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 DSROA.cpp2338 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 DAMDGPUPromoteAlloca.cpp735 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()