| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | alloc-fns-alignment.c | 13 void *aligned_alloc(size_t, size_t); 29 return aligned_alloc(a, n); in aligned_alloc_variable_test() 37 return aligned_alloc(8, n); in aligned_alloc_constant_test() 41 return aligned_alloc(4096, n); in aligned_alloc_large_constant_test()
|
| H A D | aligned_alloc-libcall.c | 5 void *aligned_alloc(size_t, size_t); 9 return aligned_alloc(alignment, size); in test()
|
| H A D | allocs-fns-allocsize.c | 8 void *aligned_alloc(size_t, size_t); 24 return aligned_alloc(a, n); in aligned_alloc_test()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | deref-alloc-fns.ll | 44 %call = tail call noalias i8* @aligned_alloc(i64 32, i64 512) 51 ; CHECK-NEXT: [[CALL:%.*]] = tail call noalias align 32 i8* @aligned_alloc(i64 32, i64 [[SIZE]]) 55 %call = tail call noalias i8* @aligned_alloc(i64 32, i64 %size) 62 ; CHECK-NEXT: [[CALL:%.*]] = tail call noalias align 32 i8* @aligned_alloc(i64 32, i64 [[SIZE]]) 66 %call = tail call noalias i8* @aligned_alloc(i64 32, i64 %size) 75 %call = tail call noalias i8* @aligned_alloc(i64 %align, i64 128) 85 ; CHECK-NEXT: [[CALL_2:%.*]] = tail call noalias align 32 i8* @aligned_alloc(i64 32, i64 [[SIZE:… 89 %call = tail call noalias i8* @aligned_alloc(i64 %align, i64 1024) 90 %call_1 = tail call noalias i8* @aligned_alloc(i64 0, i64 1024) 91 %call_2 = tail call noalias i8* @aligned_alloc(i64 32, i64 %size) [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
| H A D | aligned_alloc.c | 3 extern void *aligned_alloc (size_t alignment, size_t size); 5 volatile void *p = aligned_alloc(128, 1024); in main()
|
| H A D | aligned_alloc-alignment.cpp | 24 extern void *aligned_alloc(size_t alignment, size_t size); 30 void *p = aligned_alloc(alignment, 100); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/Linux/ |
| H A D | aligned_alloc-alignment.cpp | 12 extern void *aligned_alloc(size_t alignment, size_t size); 15 void *p = aligned_alloc(17, 100); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/scudo/ |
| H A D | memalign.c | 21 void *aligned_alloc(size_t alignment, size_t size); 36 p = aligned_alloc(alignment, size); in main() 71 p = aligned_alloc(alignment, size >> 1); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | owning-memory-legacy-functions.cpp | 17 void *aligned_alloc(size_t Alignment, size_t Size); 37 using ::aligned_alloc; 132 int *HeapPointer3 = (int *)aligned_alloc(16ul, 4ul * 32ul); in test_resource_creators() 134 gsl::owner<int *> HeapPointer4 = static_cast<int *>(aligned_alloc(16ul, 4ul * 32ul)); // Ok in test_resource_creators()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/ |
| H A D | err33-c.c | 4 void *aligned_alloc(size_t alignment, size_t size); 6 aligned_alloc(2, 10); in test_aligned_alloc()
|
| H A D | mem57-cpp.cpp | 5 void *aligned_alloc(size_t, size_t); 20 return std::aligned_alloc(alignof(Vector3), nbytes); in operator new()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Coroutines/ |
| H A D | coro-align8-02.ll | 9 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 30 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 8, i32 24) 45 declare noalias i8* @aligned_alloc(i32, i32)
|
| H A D | coro-align64.ll | 11 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 36 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 64, i32 72) 53 declare noalias i8* @aligned_alloc(i32, i32)
|
| H A D | coro-align8.ll | 11 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 36 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 8, i32 32) 53 declare noalias i8* @aligned_alloc(i32, i32)
|
| H A D | coro-align16.ll | 11 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 36 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 16, i32 40) 53 declare noalias i8* @aligned_alloc(i32, i32)
|
| H A D | coro-align64-02.ll | 11 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 36 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 64, i32 72) 53 declare noalias i8* @aligned_alloc(i32, i32)
|
| H A D | coro-align32.ll | 13 %alloc = call i8* @aligned_alloc(i32 %align, i32 %size) 42 ; CHECK: %[[ALLOC:.+]] = call i8* @aligned_alloc(i32 32, i32 56) 59 declare noalias i8* @aligned_alloc(i32, i32)
|
| /llvm-project-15.0.7/llvm/test/Transforms/NewGVN/ |
| H A D | malloc-load-removal.ll | 49 declare i8* @aligned_alloc(i64 allocalign, i64) nounwind allockind("alloc,uninitialized,aligned") a… 53 %call = tail call i8* @aligned_alloc(i64 256, i64 32) nounwind
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | stdlib_h.aligned_alloc.compile.pass.cpp | 24 static_assert(std::is_same<decltype(aligned_alloc(1, 0)), void*>::value, "");
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/ |
| H A D | cstdlib.aligned_alloc.compile.pass.cpp | 24 static_assert(std::is_same<decltype(std::aligned_alloc(1, 0)), void*>::value, "");
|
| /llvm-project-15.0.7/llvm/test/Transforms/GVN/ |
| H A D | malloc-load-removal.ll | 57 declare noalias i8* @aligned_alloc(i64 allocalign, i64) nounwind allockind("alloc,uninitialized,ali… 61 %call = tail call i8* @aligned_alloc(i64 256, i64 32) nounwind
|
| /llvm-project-15.0.7/libc/test/integration/scudo/ |
| H A D | integration_test.cpp | 33 P = aligned_alloc(64, ALLOC_SIZE); in main()
|
| /llvm-project-15.0.7/libc/src/stdlib/ |
| H A D | CMakeLists.txt | 238 aligned_alloc 258 aligned_alloc
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 47 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument 197 INTERCEPT_FUNCTION(aligned_alloc); in initialize_interceptors()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_malloc.cpp | 68 INTERCEPTOR_ATTRIBUTE void *aligned_alloc(size_t alignment, size_t size) { in aligned_alloc() function
|