Home
last modified time | relevance | path

Searched refs:getAllocSize (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrContextNode.h80 static inline size_t getAllocSize(uint32_t NrCounters, uint32_t NrCallsites) { in getAllocSize() function
110 size_t size() const { return getAllocSize(NrCounters, NrCallsites); } in size()
H A DCtxInstrProfiling.cpp165 auto AllocSize = ContextNode::getAllocSize(NrCounters, NrCallsites); in getCallsiteSlow()
247 const auto Needed = ContextNode::getAllocSize(NrCounters, NrCallsites); in setupContext()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DCtxInstrContextNode.h80 static inline size_t getAllocSize(uint32_t NrCounters, uint32_t NrCallsites) { in getAllocSize() function
110 size_t size() const { return getAllocSize(NrCounters, NrCallsites); } in size()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp65 unsigned Sz = Desc->getAllocSize(); in createGlobalString()
172 auto *G = new (Allocator, Desc->getAllocSize()) in getOrCreateDummy()
234 auto *G = new (Allocator, Desc->getAllocSize()) in createGlobal()
354 BaseSize += align(Desc->getAllocSize()); in getOrCreateRecord()
397 ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in createDescriptor()
H A DInterpBlock.h78 unsigned getSize() const { return Desc->getAllocSize(); } in getSize()
112 std::memset(rawData(), 0, Desc->getAllocSize()); in invokeCtor()
H A DDescriptor.cpp88 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in ctorArrayDesc()
113 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in dtorArrayDesc()
129 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in moveArrayDesc()
327 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
339 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
H A DDynamicAllocator.cpp68 std::make_unique<std::byte[]>(sizeof(Block) + D->getAllocSize()); in allocate()
H A DDescriptor.h226 unsigned getAllocSize() const { return AllocSize; } in getAllocSize() function
H A DInterpFrame.cpp227 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer()
H A DEvalEmitter.cpp87 auto Memory = std::make_unique<char[]>(sizeof(Block) + D->getAllocSize()); in createLocal()
H A DByteCodeEmitter.cpp200 NextLocalOffset += align(D->getAllocSize()); in createLocal()
H A DPointer.h592 asBlockPointer().Pointee->getDescriptor()->getAllocSize()); in deref()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h115 std::optional<APInt> getAllocSize(
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h1109 static size_t getAllocSize(StorageType Storage, size_t NumOps) {
1119 size_t getAllocSize() const {
1124 alignTo(getAllocSize(), alignof(uint64_t));
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp379 llvm::getAllocSize(const CallBase *CB, const TargetLibraryInfo *TLI, in getAllocSize() function in llvm
815 if (std::optional<APInt> Size = getAllocSize(&CB, TLI)) in visitCallBase()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc214 SCUDO_ALLOCATOR.getAllocSize(ptr));
H A Dcombined.h753 return getAllocSize(Ptr); in getUsableSize()
756 uptr getAllocSize(const void *Ptr) { in getAllocSize() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp631 alignTo(Header::getAllocSize(Storage, NumOps), alignof(uint64_t)); in operator new()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3779 std::optional<APInt> Size = getAllocSize(&Call, TLI); in annotateAnyAllocSite()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6828 return getAllocSize(AI.CB, TLI, Mapper); in getSize()