| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | bstring.c | 194 #define mempcpy(a,b,c) __mempcpy_chk(a,b,c,(size_t)-1) macro 198 #define mempcpy BUILTIN(mempcpy) macro 208 mempcpy(dst, src, 4); // no-warning in mempcpy0() 238 mempcpy(dst+1, src+2, 2); // no-warning in mempcpy3() 275 mempcpy(a+2, a+1, 4); // no-warning in mempcpy9() 276 mempcpy(a+1, a+2, 4); // no-warning in mempcpy9() 291 mempcpy(0, a, 0); // no-warning in mempcpy12() 296 mempcpy(a, 0, 0); // no-warning in mempcpy13() 304 p = mempcpy(dst, src, 4 * sizeof(int)); in mempcpy14() 321 p2 = mempcpy(&s2, &s1, sizeof(struct st)); in mempcpy15() [all …]
|
| H A D | bstring_UninitRead.c | 27 void *mempcpy(void *restrict s1, const void *restrict s2, size_t n); 34 …p = mempcpy(dst, src, 4 * sizeof(int)); // expected-warning{{Bytes string function accesses uninit… in mempcpy14() 55 …p2 = mempcpy(&s2, &s1, sizeof(struct st)); // expected-warning{{Bytes string function accesses uni… in mempcpy15()
|
| H A D | bstring.cpp | 25 #define mempcpy(a,b,c) __mempcpy_chk(a,b,c,(size_t)-1) macro 29 #define mempcpy BUILTIN(mempcpy) macro 30 void *mempcpy(void *__restrict__ s1, const void *__restrict__ s2, size_t n); 76 mempcpy(f, &a, g); in d()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | mempcpy.ll | 10 %r = tail call i8* @mempcpy(i8* %d, i8* %s, i64 %n) 20 %r = tail call i8* @mempcpy(i8* dereferenceable(16) %d, i8* %s, i64 %n) 29 call i8* @mempcpy(i8* %d, i8* %s, i64 %n) 42 %r = tail call i8* @mempcpy(i8* %d, i8* %s, i64 8) 52 %r = tail call i8* @mempcpy(i8* %d, i8* %s, i64 1024) 63 %r = call dereferenceable(1) i8* @mempcpy(i8* undef, i8* null, i64 undef) 69 ; CHECK-NEXT: %r = musttail call i8* @mempcpy(i8* %d, i8* %s, i64 %n) 72 %r = musttail call i8* @mempcpy(i8* %d, i8* %s, i64 %n) 76 declare i8* @mempcpy(i8*, i8* nocapture readonly, i64)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | mempcpy.ll | 4 ; (1) mempcpy is lowered as memcpy, and 8 ; variable G before the mempcpy call. This instance of DST+N causes the repeat 9 ; DST+N done in the context of the return value of mempcpy to be redundant, and 14 ; Also see mempcpy-32.ll 26 %call = tail call ptr @mempcpy(ptr %DST, ptr %SRC, i64 %N) 30 declare ptr @mempcpy(ptr, ptr, i64)
|
| H A D | mempcpy-32.ll | 3 ; This tests the i686 lowering of mempcpy. 4 ; Also see mempcpy.ll 16 %call = tail call ptr @mempcpy(ptr %DST, ptr %SRC, i32 %N) 20 declare ptr @mempcpy(ptr, ptr, i32)
|
| H A D | memcpy-scoped-aa.ll | 87 …%call = tail call i8* @mempcpy(i8* noundef nonnull align 4 dereferenceable(16) %p0, i8* noundef no… 100 declare i8* @mempcpy(i8*, i8*, i64)
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mempcpy-libcall.c | 5 void *mempcpy(void *, void const *, size_t); 11 return mempcpy(d, s, n); in test()
|
| /llvm-project-15.0.7/libc/test/src/string/ |
| H A D | mempcpy_test.cpp | 18 void *result = __llvm_libc::mempcpy(dest, src, 6); in TEST() 26 void *result = __llvm_libc::mempcpy(dest, src, 0); in TEST()
|
| H A D | CMakeLists.txt | 22 libc.src.string.mempcpy
|
| /llvm-project-15.0.7/libc/src/string/ |
| H A D | mempcpy.h | 16 void *mempcpy(void *__restrict dest, const void *__restrict src, size_t count);
|
| H A D | mempcpy.cpp | 17 LLVM_LIBC_FUNCTION(void *, mempcpy,
|
| H A D | stpcpy.cpp | 22 reinterpret_cast<char *>(__llvm_libc::mempcpy(dest, src, size));
|
| H A D | CMakeLists.txt | 23 mempcpy 25 mempcpy.cpp 27 mempcpy.h 57 .mempcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/AArch64/ |
| H A D | machine-metadata.mir | 37 …%call = tail call i8* @mempcpy(i8* noundef nonnull align 4 dereferenceable(16) %p0, i8* noundef no… 51 declare i8* @mempcpy(i8*, i8*, i64)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | memcpy-scoped-aa.ll | 117 …%call = tail call i8* @mempcpy(i8* noundef nonnull align 4 dereferenceable(16) %p0, i8* noundef no… 130 declare i8* @mempcpy(i8*, i8*, i64)
|
| /llvm-project-15.0.7/libc/config/linux/arm/ |
| H A D | entrypoints.txt | 28 libc.src.string.mempcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/ |
| H A D | machine-metadata.mir | 37 …%call = tail call i8* @mempcpy(i8* noundef nonnull align 4 dereferenceable(16) %p0, i8* noundef no… 51 declare i8* @mempcpy(i8*, i8*, i64)
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | strings.rst | 61 mempcpy YES
|
| /llvm-project-15.0.7/libc/config/darwin/arm/ |
| H A D | entrypoints.txt | 28 libc.src.string.mempcpy
|
| /llvm-project-15.0.7/libc/config/windows/ |
| H A D | entrypoints.txt | 28 libc.src.string.mempcpy
|
| /llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/ |
| H A D | no-proto.ll | 609 ; CHECK: declare void @mempcpy(...) 610 declare void @mempcpy(...)
|
| /llvm-project-15.0.7/libc/config/linux/aarch64/ |
| H A D | entrypoints.txt | 33 libc.src.string.mempcpy
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 340 "mempcpy",
|
| /llvm-project-15.0.7/libc/config/linux/x86_64/ |
| H A D | entrypoints.txt | 33 libc.src.string.mempcpy
|