| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | memccpy.ll | 9 declare i8* @memccpy(i8*, i8*, i32, i64) 66 …%call = call i8* @memccpy(i8* %dst, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @hello, i64 … 75 …%call = call i8* @memccpy(i8* %dst, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @hello, i64 … 102 …%call = call i8* @memccpy(i8* %dst, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @hello, i64 … 168 %call = call i8* @memccpy(i8* %dst, i8* %src, i32 %c, i64 0) 176 %call = call i8* @memccpy(i8* %dst, i8* %dst, i32 %c, i64 %n) 183 ; CHECK-NEXT: [[CALL:%.*]] = call i8* @memccpy(i8* [[DST:%.*]], i8* [[SRC:%.*]], i32 114, i64 12) 186 %call = call i8* @memccpy(i8* %dst, i8* %src, i32 114, i64 12) 195 …%call = call i8* @memccpy(i8* %dst, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @hello, i64 … 246 ; CHECK-NEXT: [[CALL:%.*]] = call i8* @memccpy(i8* [[DST:%.*]], i8* [[DST]], i32 [[C:%.*]], i64 … [all …]
|
| H A D | fortify-folding.ll | 14 ; CHECK-NEXT: [[MEMCCPY:%.*]] = call i8* @memccpy(i8* getelementptr inbounds ([60 x i8], [60 x i… 36 ; CHECK-NEXT: [[MEMCCPY:%.*]] = tail call i8* @memccpy(i8* getelementptr inbounds ([60 x i8], [6…
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | memccpy-libcall.c | 5 void *memccpy(void *, void const *, int, size_t); 9 memccpy(d, s, c, n); in test13()
|
| H A D | builtin-memfns.c | 7 void *memccpy(void *, void const *, int, size_t); 126 memccpy(d, s, c, n); in test13()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | redefined_system.c | 10 char memccpy(void); 16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi(); in foo()
|
| /llvm-project-15.0.7/libc/src/string/ |
| H A D | memccpy.h | 16 void *memccpy(void *__restrict dest, const void *__restrict src, int c,
|
| H A D | memccpy.cpp | 16 LLVM_LIBC_FUNCTION(void *, memccpy,
|
| H A D | CMakeLists.txt | 14 memccpy 16 memccpy.cpp 18 memccpy.h
|
| /llvm-project-15.0.7/llvm/test/Analysis/BasicAA/ |
| H A D | libfuncs.ll | 115 declare i8* @memccpy(i8*, i8*, i32, i64) 118 ; CHECK: Just Mod: Ptr: i8* %a <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 119 ; CHECK-NEXT: Just Ref: Ptr: i8* %b <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 120 ; CHECK-NEXT: Just Mod: Ptr: i8* %res <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 121 ; CHECK-NEXT: Just Mod: Ptr: i8* %a.gep.1 <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 122 ; CHECK-NEXT: NoModRef: Ptr: i8* %a.gep.5 <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 123 ; CHECK-NEXT: Just Ref: Ptr: i8* %b.gep.1 <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 124 ; CHECK-NEXT: NoModRef: Ptr: i8* %b.gep.5 <-> %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i… 130 %res = call i8* @memccpy(i8* %a, i8* %b, i32 42, i64 4)
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/SystemZ/ |
| H A D | libcall-arg-exts.ll | 40 ; CHECK: call i8* @memccpy 95 ; CHECK: declare i8* @memccpy(i8* noalias writeonly, i8* noalias nocapture readonly, i32 signext, i…
|
| /llvm-project-15.0.7/libc/test/src/string/ |
| H A D | memccpy_test.cpp | 24 void *result = __llvm_libc::memccpy(dst.data(), src.data(), end, count); in check_memccpy()
|
| H A D | CMakeLists.txt | 12 libc.src.string.memccpy
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | oop57-cpp.rst | 27 `strcpy`, `memccpy`, `stpncpy`, `strncpy`.
|
| /llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/ |
| H A D | libcalls.ll | 301 declare i8* @memccpy(i8*, i8*, i32, i64) 311 ; CHECK-NEXT: [[RES:%.*]] = call i8* @memccpy(i8* [[FOO:%.*]], i8* [[STACK_PTR]], i32 42, i64 2) 324 %res = call i8* @memccpy(i8* %foo, i8* %stack.ptr, i32 42, i64 2) 340 ; CHECK-NEXT: [[RES:%.*]] = call i8* @memccpy(i8* [[FOO:%.*]], i8* [[STACK_PTR]], i32 42, i64 [[… 353 %res = call i8* @memccpy(i8* %foo, i8* %stack.ptr, i32 42, i64 %n) 357 ; Make sure memccpy does not kill any stores, because it is not known how many 369 ; CHECK-NEXT: [[RES:%.*]] = call i8* @memccpy(i8* [[DEST]], i8* [[FOO:%.*]], i32 42, i64 2) 380 %res = call i8* @memccpy(i8* %dest, i8* %foo, i32 42, i64 2)
|
| /llvm-project-15.0.7/libc/config/linux/arm/ |
| H A D | entrypoints.txt | 23 libc.src.string.memccpy
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | strings.rst | 60 memccpy YES
|
| /llvm-project-15.0.7/libc/config/darwin/arm/ |
| H A D | entrypoints.txt | 23 libc.src.string.memccpy
|
| /llvm-project-15.0.7/libc/config/windows/ |
| H A D | entrypoints.txt | 23 libc.src.string.memccpy
|
| /llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/ |
| H A D | no-proto.ll | 597 ; CHECK: declare void @memccpy(...) 598 declare void @memccpy(...)
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 145 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() argument 147 void *res = REAL(memccpy)(dest, src, c, n); in INTERCEPTOR() 1664 INTERCEPT_FUNCTION(memccpy); in InitializeInterceptors()
|
| /llvm-project-15.0.7/libc/config/linux/aarch64/ |
| H A D | entrypoints.txt | 28 libc.src.string.memccpy
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 332 "memccpy",
|
| /llvm-project-15.0.7/libc/config/linux/x86_64/ |
| H A D | entrypoints.txt | 28 libc.src.string.memccpy
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 1024 /// void *memccpy(void *s1, const void *s2, int c, size_t n); 1025 TLI_DEFINE_ENUM_INTERNAL(memccpy) 1026 TLI_DEFINE_STRING_INTERNAL("memccpy")
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 1534 memccpy(y, x, 'd', 4); in TEST() 1548 memccpy(y, x, 'b', 4); in TEST() 1562 EXPECT_UMR(memccpy(y, x, 'd', 5)); in TEST() 1573 EXPECT_UMR(memccpy(y, x, 'b', 5)); in TEST()
|