Home
last modified time | relevance | path

Searched refs:AllocationSize (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h67 size_t AllocationSize; variable
78 AllocationSize(allocationSize), ObjAddress(objAddress) { in SectionEntry()
81 (void)AllocationSize; in SectionEntry()
90 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); in getAddressWithOffset()
101 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); in getLoadAddressWithOffset()
109 assert(StubOffset <= AllocationSize && "Not enough space allocated!"); in advanceStubOffset()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp173 static uptr AllocationSize(const void *p) { in AllocationSize() function
291 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
293 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp265 static uptr AllocationSize(const void *p) { in AllocationSize() function
376 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
378 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp351 static uptr AllocationSize(const void *tagged_ptr) { in AllocationSize() function
482 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
484 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp792 uptr AllocationSize(uptr p) { in AllocationSize() function
1045 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size()
1054 return instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_mz_size()
1196 return instance.AllocationSize(ptr) > 0; in __sanitizer_get_ownership()
1202 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcombined.h1008 atomic_uptr AllocationSize; member
1218 uptr AllocationSize, u32 DeallocationTrace, in storeRingBufferEntry() argument
1233 atomic_store_relaxed(&Entry->AllocationSize, AllocationSize); in storeRingBufferEntry()
1377 uptr EntrySize = atomic_load_relaxed(&Entry->AllocationSize); in getRingBufferErrorInfo()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp549 uptr AllocationSize(uptr p) { in AllocationSize() function
688 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in memprof_malloc_usable_size()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp2276 llvm::Optional<llvm::APInt> AllocationSize; in BuildCXXNew() local
2279 AllocationSize = SingleEltSize; in BuildCXXNew()
2283 AllocationSize = llvm::APInt(SizeTyWidth, *KnownArraySize) in BuildCXXNew()
2292 Context, AllocationSize.value_or(llvm::APInt::getZero(SizeTyWidth)), in BuildCXXNew()
2317 CallArgs.emplace_back(AllocationSize in BuildCXXNew()