Home
last modified time | relevance | path

Searched defs:alignment (Results 1 – 25 of 145) sorted by relevance

123456

/llvm-project-15.0.7/libcxxabi/src/
H A Dstdlib_new_delete.cpp138 operator new(std::size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC in operator new()
170 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator new()
189 operator new[](size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC in operator new[]()
196 operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator new[]()
222 operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator delete()
229 operator delete(void* ptr, size_t, std::align_val_t alignment) noexcept in operator delete()
236 operator delete[] (void* ptr, std::align_val_t alignment) noexcept in operator delete[]()
243 operator delete[] (void* ptr, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator delete[]()
250 operator delete[] (void* ptr, size_t, std::align_val_t alignment) noexcept in operator delete[]()
/llvm-project-15.0.7/libcxx/src/
H A Dnew.cpp175 operator new(std::size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC in operator new()
207 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator new()
226 operator new[](size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC in operator new[]()
233 operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator new[]()
259 operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator delete()
266 operator delete(void* ptr, size_t, std::align_val_t alignment) noexcept in operator delete()
273 operator delete[] (void* ptr, std::align_val_t alignment) noexcept in operator delete[]()
280 operator delete[] (void* ptr, std::align_val_t alignment, const std::nothrow_t&) noexcept in operator delete[]()
287 operator delete[] (void* ptr, size_t, std::align_val_t alignment) noexcept in operator delete[]()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp23 Size alignment = 1; in decorateType() local
30 VulkanLayoutUtils::Size &alignment) { in decorateType()
81 VulkanLayoutUtils::Size &alignment) { in decorateType()
103 VulkanLayoutUtils::Size &alignment) { in decorateType()
122 VulkanLayoutUtils::Size &alignment) { in decorateType()
138 VulkanLayoutUtils::Size &alignment) { in decorateType()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dcatch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp10 passthrough(char **x, unsigned long alignment) { in passthrough()
23 char **caller(char **x, unsigned long alignment) { in caller()
H A D2005-07-26-UnionInitCrash.c3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member
H A Dmemalign-libcall.c7 void *test(size_t alignment, size_t size) { in test()
H A Daligned_alloc-libcall.c7 void *test(size_t alignment, size_t size) { in test()
H A Dcatch-alignment-assumption-attribute-alloc_align-on-function.cpp10 passthrough(char **x, unsigned long alignment) { in passthrough()
H A Dassume-aligned-and-alloc-align-attributes.c43 void *t3_variable(int alignment) { in t3_variable()
/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Pointer/
H A Dalignment-assumption-attribute-alloc_align-on-function-variable.cpp14 passthrough(char *x, unsigned long alignment) { in passthrough()
18 unsigned long alignment; variable
H A Dalignment-assumption-attribute-alloc_align-on-function.cpp14 passthrough(char *x, unsigned long alignment) { in passthrough()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp44 int posix_memalign(void **memptr, size_t alignment, size_t size) { in posix_memalign()
53 INTERCEPTOR_ATTRIBUTE void *memalign(size_t alignment, size_t size) { in memalign()
68 INTERCEPTOR_ATTRIBUTE void *aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
/llvm-project-15.0.7/openmp/runtime/test/api/
H A Dkmp_aligned_malloc.c10 uint64_t alignment = 1; in aligned_by() local
28 int alignment = alignments[i]; in test_kmp_aligned_malloc() local
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_checks.h44 inline bool CheckAlignedAllocAlignmentAndSize(uptr alignment, uptr size) { in CheckAlignedAllocAlignmentAndSize()
55 inline bool CheckPosixMemalignAlignment(uptr alignment) { in CheckPosixMemalignAlignment()
H A Dsanitizer_allocator_report.cpp76 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 Dsanitizer_allocator.cpp50 uptr alignment) { in RawInternalAlloc()
62 uptr alignment = 8; in RawInternalRealloc() local
86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc()
163 void SetLowLevelAllocateMinAlignment(uptr alignment) { in SetLowLevelAllocateMinAlignment()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocation_functions.cpp32 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign()
40 void *__sanitizer_memalign(uptr alignment, uptr size) { in __sanitizer_memalign()
46 void *__sanitizer_aligned_alloc(uptr alignment, uptr size) { in __sanitizer_aligned_alloc()
52 void *__sanitizer___libc_memalign(uptr alignment, uptr size) { in __sanitizer___libc_memalign()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_barrier.h21 #define KMP_ALIGNED_ALLOCATE(size, alignment) _mm_malloc(size, alignment) argument
24 #define KMP_ALIGNED_ALLOCATE(size, alignment) aligned_alloc(alignment, size) argument
27 static inline void *KMP_ALIGNED_ALLOCATE(size_t size, size_t alignment) { in KMP_ALIGNED_ALLOCATE()
40 #define KMP_ALIGNED_ALLOCATE(size, alignment) _aligned_malloc(size, alignment) argument
43 #define KMP_ALIGNED_ALLOCATE(size, alignment) KMP_INTERNAL_MALLOC(size) argument
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Ddll_aligned_mallocs.cpp8 #define CHECK_ALIGNED(ptr,alignment) \ argument
H A Daligned_mallocs.cpp6 #define CHECK_ALIGNED(ptr,alignment) \ argument
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Daligned_alloc-alignment.cpp28 const int alignment = atoi(argv[1]); in main() local
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dposix_memalign-alignment.cpp29 const int alignment = atoi(argv[1]); in main() local
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/
H A Dinternal.h135 template <typename T> inline T alignDown(T value, size_t alignment) { in alignDown()
139 template <typename T> inline T *alignDown(T *value, size_t alignment) { in alignDown()
143 template <typename T> inline T alignUp(T value, size_t alignment) { in alignUp()
147 template <typename T> inline T *alignUp(T *value, size_t alignment) { in alignUp()
/llvm-project-15.0.7/clang/lib/AST/
H A DRecordLayout.cpp31 CharUnits alignment, in ASTRecordLayout()
46 const ASTContext &Ctx, CharUnits size, CharUnits alignment, in ASTRecordLayout()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_malloc_mac.cpp27 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ argument
39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument

123456