Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2387 Type *AllocaTy, in isIntegerWideningViableForSlice() argument
2390 uint64_t Size = DL.getTypeStoreSize(AllocaTy).getFixedValue(); in isIntegerWideningViableForSlice()
2430 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice()
2455 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
2493 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2494 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
3200 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() local
3201 Type *ScalarTy = AllocaTy->getScalarType(); in visitMemSetInst()
3216 return canConvertValue(DL, SrcTy, AllocaTy) && in visitMemSetInst()
3284 V = convertValue(DL, IRB, V, AllocaTy); in visitMemSetInst()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp631 Type *AllocaTy = Alloca.getAllocatedType(); in tryPromoteAllocaToVector() local
632 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector()
633 if (auto *ArrayTy = dyn_cast<ArrayType>(AllocaTy)) { in tryPromoteAllocaToVector()
644 if (DL->getTypeSizeInBits(AllocaTy) * 4 > Limit) { in tryPromoteAllocaToVector()
829 LLVM_DEBUG(dbgs() << " Converting alloca to vector " << *AllocaTy << " -> " in tryPromoteAllocaToVector()