Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp66 unsigned Sz = Desc->getAllocSize(); in createGlobalString()
151 auto *G = new (Allocator, Desc->getAllocSize()) in getOrCreateDummy()
205 auto *G = new (Allocator, Desc->getAllocSize()) in createGlobal()
304 BaseSize += align(Desc->getAllocSize()); in getOrCreateRecord()
346 ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in createDescriptor()
H A DInterpBlock.h71 unsigned getSize() const { return Desc->getAllocSize(); } in getSize()
107 std::memset(rawData(), 0, Desc->getAllocSize()); in invokeCtor()
H A DDescriptor.cpp77 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in ctorArrayDesc()
102 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in dtorArrayDesc()
118 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in moveArrayDesc()
268 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
280 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
H A DDescriptor.h173 unsigned getAllocSize() const { return AllocSize; } in getAllocSize() function
H A DEvalEmitter.cpp62 auto Memory = std::make_unique<char[]>(sizeof(Block) + D->getAllocSize()); in createLocal()
H A DInterpFrame.cpp216 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer()
H A DByteCodeEmitter.cpp142 NextLocalOffset += align(D->getAllocSize()); in createLocal()
H A DPointer.h382 assert(Offset + sizeof(T) <= Pointee->getDescriptor()->getAllocSize()); in deref()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h115 std::optional<APInt> getAllocSize(
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h1099 static size_t getAllocSize(StorageType Storage, size_t NumOps) {
1109 size_t getAllocSize() const {
1114 alignTo(getAllocSize(), alignof(uint64_t));
/freebsd-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc214 SCUDO_ALLOCATOR.getAllocSize(ptr));
H A Dcombined.h834 return getAllocSize(Ptr); in getUsableSize()
837 uptr getAllocSize(const void *Ptr) { in getAllocSize() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp622 alignTo(Header::getAllocSize(Storage, NumOps), alignof(uint64_t)); in operator new()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3550 std::optional<APInt> Size = getAllocSize(&Call, TLI); in annotateAnyAllocSite()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6812 return getAllocSize(AI.CB, TLI, Mapper); in getSize()