Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DDescriptor.cpp60 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in ctorArrayDesc()
84 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in dtorArrayDesc()
99 D->ElemDesc->getAllocSize() + sizeof(InlineDescriptor); in moveArrayDesc()
218 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
229 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
H A DProgram.cpp64 unsigned Sz = Desc->getAllocSize(); in createGlobalString()
194 auto *G = new (Allocator, Desc->getAllocSize()) in createGlobal()
302 Size += align(Desc->getAllocSize()); in getOrCreateRecord()
341 InterpSize ElemSize = Desc->getAllocSize() + sizeof(InlineDescriptor); in createDescriptor()
H A DInterpBlock.h57 InterpSize getSize() const { return Desc->getAllocSize(); } in getSize()
H A DDescriptor.h134 unsigned getAllocSize() const { return AllocSize; } in getAllocSize() function
H A DByteCodeEmitter.cpp84 NextLocalOffset += align(D->getAllocSize()); in createLocal()
H A DInterpFrame.cpp170 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer()
H A DEvalEmitter.cpp53 auto Memory = std::make_unique<char[]>(sizeof(Block) + D->getAllocSize()); in createLocal()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h110 Optional<APInt> getAllocSize(
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMetadata.h984 static size_t getAllocSize(StorageType Storage, size_t NumOps) {
994 size_t getAllocSize() const {
999 alignTo(getAllocSize(), alignof(uint64_t));
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp392 llvm::getAllocSize(const CallBase *CB, const TargetLibraryInfo *TLI, in getAllocSize() function in llvm
817 if (Optional<APInt> Size = getAllocSize(&CB, TLI)) in visitCallBase()
/llvm-project-15.0.7/llvm/lib/IR/
H A DMetadata.cpp528 alignTo(Header::getAllocSize(Storage, NumOps), alignof(uint64_t)); in operator new()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2890 Optional<APInt> Size = getAllocSize(&Call, TLI); in annotateAnyAllocSite()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6064 return getAllocSize(AI.CB, TLI, Mapper); in getSize()