/llvm-project/libcxxabi/src/ |
H A D | stdlib_new_delete.cpp | 139 static void* operator_new_aligned_impl(std::size_t size, std::align_val_t alignment) { in operator_new_aligned_impl() argument 160 operator new(std::size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC { in operator new() argument 167 _LIBCPP_WEAK void* operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept { in operator new() argument 192 operator new[](size_t size, std::align_val_t alignment) _THROW_BAD_ALLO argument 196 operator new[](size_t size,std::align_val_t alignment,const std::nothrow_t &) operator new[]() argument 223 operator delete(void * ptr,std::align_val_t alignment,const std::nothrow_t &) operator delete() argument 227 operator delete(void * ptr,size_t,std::align_val_t alignment) operator delete() argument 231 operator delete[](void * ptr,std::align_val_t alignment) operator delete[]() argument 235 operator delete[](void * ptr,std::align_val_t alignment,const std::nothrow_t &) operator delete[]() argument 239 operator delete[](void * ptr,size_t,std::align_val_t alignment) operator delete[]() argument [all...] |
/llvm-project/libcxx/src/ |
H A D | new.cpp | 119 static void* operator_new_aligned_impl(std::size_t size, std::align_val_t alignment) { in operator_new_aligned_impl() argument 140 operator new(std::size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC { in operator new() argument 147 _LIBCPP_WEAK void* operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept { in operator new() argument 172 operator new[](size_t size, std::align_val_t alignment) _THROW_BAD_ALLO argument 176 operator new[](size_t size,std::align_val_t alignment,const std::nothrow_t &) operator new[]() argument 203 operator delete(void * ptr,std::align_val_t alignment,const std::nothrow_t &) operator delete() argument 207 operator delete(void * ptr,size_t,std::align_val_t alignment) operator delete() argument 211 operator delete[](void * ptr,std::align_val_t alignment) operator delete[]() argument 215 operator delete[](void * ptr,std::align_val_t alignment,const std::nothrow_t &) operator delete[]() argument 219 operator delete[](void * ptr,size_t,std::align_val_t alignment) operator delete[]() argument [all...] |
/llvm-project/mlir/lib/Dialect/SPIRV/Utils/ |
H A D | LayoutUtils.cpp | 23 Size alignment = 1; in decorateType() local 30 VulkanLayoutUtils::Size &alignment) { in decorateType() 81 VulkanLayoutUtils::Size &alignment) { in decorateType() 107 VulkanLayoutUtils::Size &alignment) { in decorateType() 126 VulkanLayoutUtils::Size &alignment) { in decorateType() 142 VulkanLayoutUtils::Size &alignment) { in decorateType()
|
/llvm-project/clang/test/CodeGen/ |
H A D | catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp | 19 passthrough(char **x, unsigned long alignment) { in passthrough() 92 char **caller(char **x, unsigned long alignment) { in caller()
|
H A D | memalign-libcall.c | 7 void *test(size_t alignment, size_t size) { in test()
|
H A D | 2005-07-26-UnionInitCrash.c | 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member
|
H A D | aligned_alloc-libcall.c | 7 void *test(size_t alignment, size_t size) { in test()
|
H A D | catch-alignment-assumption-attribute-alloc_align-on-function.cpp | 19 passthrough(char **x, unsigned long alignment) { in passthrough()
|
/llvm-project/libc/src/__support/ |
H A D | block.h | 37 align_down(size_t value,size_t alignment) align_down() argument 44 align_down(T * value,size_t alignment) align_down() argument 50 align_up(size_t value,size_t alignment) align_up() argument 57 align_up(T * value,size_t alignment) align_up() argument 227 size_t alignment() const { return used() ? info_.alignment : 1; } alignment() function 265 is_usable_space_aligned(size_t alignment) is_usable_space_aligned() argument 269 padding_for_alignment(size_t alignment) padding_for_alignment() argument 359 uint16_t alignment : 14; global() member 369 get_aligned_subspan(ByteSpan bytes,size_t alignment) get_aligned_subspan() argument 419 can_allocate(size_t alignment,size_t size) can_allocate() argument 434 allocate(Block * block,size_t alignment,size_t size) allocate() argument [all...] |
/llvm-project/compiler-rt/test/ubsan/TestCases/Pointer/ |
H A D | align-assume-attribute-alloc_align-on-function-variable.cpp | 14 passthrough(char *x, unsigned long alignment) { in passthrough() 18 unsigned long alignment; variable
|
H A D | align-assume-attribute-alloc_align-on-function.cpp | 14 passthrough(char *x, unsigned long alignment) { in passthrough()
|
/llvm-project/openmp/runtime/src/ |
H A D | kmp_barrier.h | 21 #define KMP_ALIGNED_ALLOCATE(size, alignment) _mm_malloc(size, alignment) argument 24 #define KMP_ALGIN_UP(val, alignment) \ argument 26 #define KMP_ALIGNED_ALLOCATE(size, alignment) \ argument 30 static inline void *KMP_ALIGNED_ALLOCATE(size_t size, size_t alignment) { in KMP_ALIGNED_ALLOCATE() 43 #define KMP_ALIGNED_ALLOCATE(size, alignment) _aligned_malloc(size, alignment) argument 46 #define KMP_ALIGNED_ALLOCATE(size, alignment) KMP_INTERNAL_MALLOC(size) argument
|
/llvm-project/libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/ |
H A D | tracking_mem_res.h | 23 void* do_allocate(std::size_t size, size_t alignment) override { in do_allocate() 30 void do_deallocate(void* ptr, std::size_t size, size_t alignment) override { in do_deallocate()
|
/llvm-project/openmp/runtime/test/api/ |
H A D | kmp_aligned_malloc.c | 10 uint64_t alignment = 1; in aligned_by() local 28 int alignment = alignments[i]; in test_kmp_aligned_malloc() local
|
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_checks.h | 44 inline bool CheckAlignedAllocAlignmentAndSize(uptr alignment, uptr size) { in CheckAlignedAllocAlignmentAndSize() 55 inline bool CheckPosixMemalignAlignment(uptr alignment) { in CheckPosixMemalignAlignment()
|
H A D | sanitizer_allocator_report.cpp | 76 void NORETURN ReportInvalidAllocationAlignment(uptr alignment, in ReportInvalidAllocationAlignment() 86 void NORETURN ReportInvalidAlignedAllocAlignment(uptr size, uptr alignment, in ReportInvalidAlignedAllocAlignment() 104 void NORETURN ReportInvalidPosixMemalignAlignment(uptr alignment, in ReportInvalidPosixMemalignAlignment()
|
H A D | sanitizer_allocator.cpp | 50 uptr alignment) { in RawInternalAlloc() argument 62 constexpr usize alignment = Max<usize>(8, sizeof(void *)); in RawInternalRealloc() local 86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() argument 167 SetLowLevelAllocateMinAlignment(uptr alignment) SetLowLevelAllocateMinAlignment() argument [all...] |
/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocation_functions.cpp | 43 __sanitizer_posix_memalign(void ** memptr,uptr alignment,uptr size) __sanitizer_posix_memalign() argument 51 __sanitizer_memalign(uptr alignment,uptr size) __sanitizer_memalign() argument 57 __sanitizer_aligned_alloc(uptr alignment,uptr size) __sanitizer_aligned_alloc() argument 63 __sanitizer___libc_memalign(uptr alignment,uptr size) __sanitizer___libc_memalign() argument [all...] |
/llvm-project/mlir/lib/Support/ |
H A D | FileUtilities.cpp | 24 std::optional<llvm::Align> alignment) { in openInputFileImpl() 43 mlir::openInputFile(llvm::StringRef inputFilename, llvm::Align alignment, in openInputFile()
|
/llvm-project/mlir/include/mlir/Conversion/MemRefToLLVM/ |
H A D | AllocLikeConversion.h | 44 Value alignment; in getAlignment() local 68 if (std::optional<uint64_t> alignment = op.getAlignment()) in alignedAllocationGetAlignment() local
|
/llvm-project/libc/test/src/__support/ |
H A D | freelist_heap_test.cpp | 106 size_t alignment = alignof(void *); global() variable 225 for (size_t alignment : ALIGNMENTS) { global() variable 253 for (size_t alignment : ALIGNMENTS) { TEST() local 267 for (size_t alignment : ALIGNMENTS) { global() variable 273 for (size_t alignment : ALIGNMENTS) { global() variable [all...] |
/llvm-project/compiler-rt/test/asan/TestCases/Windows/ |
H A D | dll_aligned_mallocs.cpp | 13 #define CHECK_ALIGNED(ptr,alignment) \ argument
|
H A D | aligned_mallocs.cpp | 12 #define CHECK_ALIGNED(ptr,alignment) \ argument
|
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
H A D | aligned_alloc-alignment.cpp | 28 const int alignment = atoi(argv[1]); in main() local
|
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
H A D | posix_memalign-alignment.cpp | 29 const int alignment = atoi(argv[1]); in main() local
|