Home
last modified time | relevance | path

Searched refs:getAllocationSize (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DKernelInfo.cpp186 if (std::optional<TypeSize> Size = Alloca->getAllocationSize(DL)) { in updateForBB()
H A DStackLifetime.cpp70 auto AllocaSize = AI->getAllocationSize(DL); in findMatchingAlloca()
H A DMemoryBuiltins.cpp236 getAllocationSize(const CallBase *CB, const TargetLibraryInfo *TLI) { in getAllocationSize() function
371 std::optional<AllocFnsTy> FnData = getAllocationSize(CB, TLI); in getAllocSize()
1301 std::optional<AllocFnsTy> FnData = getAllocationSize(&CB, TLI); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1413 Alloca->getAllocationSize(DL)) in hasUndefContents()
1537 std::optional<TypeSize> SrcSize = SrcAlloca->getAllocationSize(DL); in performStackMoveOptzn()
1542 std::optional<TypeSize> DestSize = DestAlloca->getAllocationSize(DL); in performStackMoveOptzn()
2070 std::optional<TypeSize> AllocaSize = AI->getAllocationSize(DL); in processImmutArgument()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp347 std::optional<TypeSize> TySize = AI->getAllocationSize(DL); in visitVariable()
H A DMemoryTaggingSupport.cpp221 return *AI.getAllocationSize(DL); in getAllocaSizeInBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp526 const auto ArgSize = *AllocA->getAllocationSize(DL); in copyByValParam()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp602 uint64_t Size = *Info.AI->getAllocationSize(*DL); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp414 assert(OrigSize == Alloca->getAllocationSize(DL)->getFixedValue() && in emitMemsetExpansion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp231 std::optional<TypeSize> AllocaTypeSize = Alloced->getAllocationSize(DL); in sizeOfAlloca()
H A DAttributorAttributes.cpp13359 return AI->getAllocationSize(DL); in findInitialAllocationSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h2230 std::optional<TypeSize> getAllocationSize(const DataLayout &DL) const { in getAllocationSize() function
2231 return cast<llvm::AllocaInst>(Val)->getAllocationSize(DL); in getAllocationSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp399 std::optional<TypeSize> RetSize = A.Alloca->getAllocationSize(DL); in addFieldForAllocas()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp65 AllocaInst::getAllocationSize(const DataLayout &DL) const { in getAllocationSize() function in AllocaInst
83 std::optional<TypeSize> Size = getAllocationSize(DL); in getAllocationSizeInBits()
H A DDebugInfo.cpp2310 if (auto Sz = Alloca->getAllocationSize(*DL); Sz && Sz->isScalable()) in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp798 return *AI.getAllocationSize(AI.getDataLayout()); in getAllocaSizeInBytes()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h113 getAllocationSize(const DataLayout &DL) const;
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp8621 Buffer->getAllocationSize(M.getDataLayout())->getFixedValue())); in emitOffloadingArrays()