Home
last modified time | relevance | path

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

1234567

/llvm-project/libcxxabi/src/
H A Dstdlib_new_delete.cpp139 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 Dnew.cpp119 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 DLayoutUtils.cpp23 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 Dcatch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp19 passthrough(char **x, unsigned long alignment) { in passthrough()
92 char **caller(char **x, unsigned long alignment) { in caller()
H A Dmemalign-libcall.c7 void *test(size_t alignment, size_t size) { in test()
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 Daligned_alloc-libcall.c7 void *test(size_t alignment, size_t size) { in test()
H A Dcatch-alignment-assumption-attribute-alloc_align-on-function.cpp19 passthrough(char **x, unsigned long alignment) { in passthrough()
/llvm-project/libc/src/__support/
H A Dblock.h37 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 Dalign-assume-attribute-alloc_align-on-function-variable.cpp14 passthrough(char *x, unsigned long alignment) { in passthrough()
18 unsigned long alignment; variable
H A Dalign-assume-attribute-alloc_align-on-function.cpp14 passthrough(char *x, unsigned long alignment) { in passthrough()
/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.h21 #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 Dtracking_mem_res.h23 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 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/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() 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 Dhwasan_allocation_functions.cpp43 __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 DFileUtilities.cpp24 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 DAllocLikeConversion.h44 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 Dfreelist_heap_test.cpp106 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 Ddll_aligned_mallocs.cpp13 #define CHECK_ALIGNED(ptr,alignment) \ argument
H A Daligned_mallocs.cpp12 #define CHECK_ALIGNED(ptr,alignment) \ argument
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Daligned_alloc-alignment.cpp28 const int alignment = atoi(argv[1]); in main() local
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dposix_memalign-alignment.cpp29 const int alignment = atoi(argv[1]); in main() local

1234567