Home
last modified time | relevance | path

Searched refs:mempcpy (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Analysis/
H A Dbstring.c194 #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 Dbstring_UninitRead.c27 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 Dbstring.cpp25 #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 Dmempcpy.ll10 %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 Dmempcpy.ll4 ; (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 Dmempcpy-32.ll3 ; 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 Dmemcpy-scoped-aa.ll87 …%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 Dmempcpy-libcall.c5 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 Dmempcpy_test.cpp18 void *result = __llvm_libc::mempcpy(dest, src, 6); in TEST()
26 void *result = __llvm_libc::mempcpy(dest, src, 0); in TEST()
H A DCMakeLists.txt22 libc.src.string.mempcpy
/llvm-project-15.0.7/libc/src/string/
H A Dmempcpy.h16 void *mempcpy(void *__restrict dest, const void *__restrict src, size_t count);
H A Dmempcpy.cpp17 LLVM_LIBC_FUNCTION(void *, mempcpy,
H A Dstpcpy.cpp22 reinterpret_cast<char *>(__llvm_libc::mempcpy(dest, src, size));
H A DCMakeLists.txt23 mempcpy
25 mempcpy.cpp
27 mempcpy.h
57 .mempcpy
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/AArch64/
H A Dmachine-metadata.mir37 …%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 Dmemcpy-scoped-aa.ll117 …%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 Dentrypoints.txt28 libc.src.string.mempcpy
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/
H A Dmachine-metadata.mir37 …%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 Dstrings.rst61 mempcpy YES
/llvm-project-15.0.7/libc/config/darwin/arm/
H A Dentrypoints.txt28 libc.src.string.mempcpy
/llvm-project-15.0.7/libc/config/windows/
H A Dentrypoints.txt28 libc.src.string.mempcpy
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll609 ; CHECK: declare void @mempcpy(...)
610 declare void @mempcpy(...)
/llvm-project-15.0.7/libc/config/linux/aarch64/
H A Dentrypoints.txt33 libc.src.string.mempcpy
/llvm-project-15.0.7/libc/spec/
H A Dposix.td340 "mempcpy",
/llvm-project-15.0.7/libc/config/linux/x86_64/
H A Dentrypoints.txt33 libc.src.string.mempcpy

12