Home
last modified time | relevance | path

Searched refs:aligned_alloc (Results 1 – 25 of 62) sorted by relevance

123

/llvm-project-15.0.7/clang/test/CodeGen/
H A Dalloc-fns-alignment.c13 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 Daligned_alloc-libcall.c5 void *aligned_alloc(size_t, size_t);
9 return aligned_alloc(alignment, size); in test()
H A Dallocs-fns-allocsize.c8 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 Dderef-alloc-fns.ll44 %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 Daligned_alloc.c3 extern void *aligned_alloc (size_t alignment, size_t size);
5 volatile void *p = aligned_alloc(128, 1024); in main()
H A Daligned_alloc-alignment.cpp24 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 Daligned_alloc-alignment.cpp12 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 Dmemalign.c21 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 Downing-memory-legacy-functions.cpp17 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 Derr33-c.c4 void *aligned_alloc(size_t alignment, size_t size);
6 aligned_alloc(2, 10); in test_aligned_alloc()
H A Dmem57-cpp.cpp5 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 Dcoro-align8-02.ll9 %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 Dcoro-align64.ll11 %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 Dcoro-align8.ll11 %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 Dcoro-align16.ll11 %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 Dcoro-align64-02.ll11 %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 Dcoro-align32.ll13 %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 Dmalloc-load-removal.ll49 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 Dstdlib_h.aligned_alloc.compile.pass.cpp24 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 Dcstdlib.aligned_alloc.compile.pass.cpp24 static_assert(std::is_same<decltype(std::aligned_alloc(1, 0)), void*>::value, "");
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A Dmalloc-load-removal.ll57 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 Dintegration_test.cpp33 P = aligned_alloc(64, ALLOC_SIZE); in main()
/llvm-project-15.0.7/libc/src/stdlib/
H A DCMakeLists.txt238 aligned_alloc
258 aligned_alloc
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp47 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 Dscudo_malloc.cpp68 INTERCEPTOR_ATTRIBUTE void *aligned_alloc(size_t alignment, size_t size) { in aligned_alloc() function

123