Searched refs:getAllocSize (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Descriptor.cpp | 60 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 D | Program.cpp | 64 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 D | InterpBlock.h | 57 InterpSize getSize() const { return Desc->getAllocSize(); } in getSize()
|
| H A D | Descriptor.h | 134 unsigned getAllocSize() const { return AllocSize; } in getAllocSize() function
|
| H A D | ByteCodeEmitter.cpp | 84 NextLocalOffset += align(D->getAllocSize()); in createLocal()
|
| H A D | InterpFrame.cpp | 170 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer()
|
| H A D | EvalEmitter.cpp | 53 auto Memory = std::make_unique<char[]>(sizeof(Block) + D->getAllocSize()); in createLocal()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemoryBuiltins.h | 110 Optional<APInt> getAllocSize(
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Metadata.h | 984 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 D | MemoryBuiltins.cpp | 392 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 D | Metadata.cpp | 528 alignTo(Header::getAllocSize(Storage, NumOps), alignof(uint64_t)); in operator new()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2890 Optional<APInt> Size = getAllocSize(&Call, TLI); in annotateAnyAllocSite()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 6064 return getAllocSize(AI.CB, TLI, Mapper); in getSize()
|