Home
last modified time | relevance | path

Searched refs:memccpy (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmemccpy.ll9 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 Dfortify-folding.ll14 ; 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 Dmemccpy-libcall.c5 void *memccpy(void *, void const *, int, size_t);
9 memccpy(d, s, c, n); in test13()
H A Dbuiltin-memfns.c7 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 Dredefined_system.c10 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 Dmemccpy.h16 void *memccpy(void *__restrict dest, const void *__restrict src, int c,
H A Dmemccpy.cpp16 LLVM_LIBC_FUNCTION(void *, memccpy,
H A DCMakeLists.txt14 memccpy
16 memccpy.cpp
18 memccpy.h
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Dlibfuncs.ll115 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 Dlibcall-arg-exts.ll40 ; 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 Dmemccpy_test.cpp24 void *result = __llvm_libc::memccpy(dst.data(), src.data(), end, count); in check_memccpy()
H A DCMakeLists.txt12 libc.src.string.memccpy
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Doop57-cpp.rst27 `strcpy`, `memccpy`, `stpncpy`, `strncpy`.
/llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/
H A Dlibcalls.ll301 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 Dentrypoints.txt23 libc.src.string.memccpy
/llvm-project-15.0.7/libc/docs/
H A Dstrings.rst60 memccpy YES
/llvm-project-15.0.7/libc/config/darwin/arm/
H A Dentrypoints.txt23 libc.src.string.memccpy
/llvm-project-15.0.7/libc/config/windows/
H A Dentrypoints.txt23 libc.src.string.memccpy
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll597 ; CHECK: declare void @memccpy(...)
598 declare void @memccpy(...)
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp145 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 Dentrypoints.txt28 libc.src.string.memccpy
/llvm-project-15.0.7/libc/spec/
H A Dposix.td332 "memccpy",
/llvm-project-15.0.7/libc/config/linux/x86_64/
H A Dentrypoints.txt28 libc.src.string.memccpy
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1024 /// 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 Dmsan_test.cpp1534 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()

12