Home
last modified time | relevance | path

Searched refs:stpcpy (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dstpcpy-1.ll2 ; Test that the stpcpy library call simplifier works correctly.
15 declare i8* @stpcpy(i8*, i8*)
24 %ret = call i8* @stpcpy(i8* %dst, i8* %src)
35 %ret = call i8* @stpcpy(i8* %dst, i8* %dst)
45 call i8* @stpcpy(i8* dereferenceable(80) %dst, i8* %src)
51 ; CHECK-NEXT: [[RET:%.*]] = call i8* @stpcpy(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @…
56 %ret = call i8* @stpcpy(i8* %dst, i8* %src)
62 ; CHECK-NEXT: [[RET:%.*]] = musttail call i8* @stpcpy(i8* [[DST:%.*]], i8* [[SRC:%.*]])
65 %ret = musttail call i8* @stpcpy(i8* %dst, i8* %src)
76 %ret = call dereferenceable(1) i8* @stpcpy(i8* %dst, i8* %src)
[all …]
H A Dstpcpy-2.ll1 ; Test that the stpcpy library call simplifier works correctly.
11 declare i16* @stpcpy(i8*, i8*)
19 call i16* @stpcpy(i8* %dst, i8* %src)
20 ; CHECK: call i16* @stpcpy
H A Dstrcpy-nonzero-as.ll10 declare i8 addrspace(200)* @stpcpy(i8 addrspace(200)*, i8 addrspace(200)*) addrspace(200)
34 …%call = call i8 addrspace(200)* @stpcpy(i8 addrspace(200)* %dst, i8 addrspace(200)* getelementptr …
46 %call = call i8 addrspace(200)* @stpcpy(i8 addrspace(200)* %dst, i8 addrspace(200)* %src)
H A Dsprintf-1.ll103 ; WITHSTPCPY-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
132 ; Check sprintf(dst, "%s", str) -> stpcpy(dest, str) - dest
136 ; CHECK-IPRINTF-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
174 ; CHECK-IPRINTF-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
H A Dstpcpy_chk-1.ll67 ; CHECK-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* getelementptr inbounds ([60 x i8], [60 x i8]…
79 ; CHECK-NEXT: [[STPCPY:%.*]] = tail call i8* @stpcpy(i8* getelementptr inbounds ([60 x i8], [60 …
124 ; CHECK-NEXT: [[STPCPY:%.*]] = tail call i8* @stpcpy(i8* getelementptr inbounds ([60 x i8], [60 …
H A Ddisable-simplify-libcalls.ll28 declare i8* @stpcpy(i8*, i8*)
150 %ret = call i8* @stpcpy(i8* %x, i8* %y)
152 ; CHECK: call i8* @stpcpy
/llvm-project-15.0.7/libc/test/src/string/
H A Dstpcpy_test.cpp19 char *result = __llvm_libc::stpcpy(dest, empty); in TEST()
30 char *result = __llvm_libc::stpcpy(dest, abc); in TEST()
41 char *result = __llvm_libc::stpcpy(dest + 3, abc); in TEST()
H A DCMakeLists.txt52 libc.src.string.stpcpy
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dstrcpy-nobuiltin.ll7 declare i8 *@stpcpy(i8 *%dest, i8 *%src)
19 ; Check stpcpy.
23 ; CHECK: brasl %r14, stpcpy
25 %res = call i8 *@stpcpy(i8 *%dest, i8 *%src) nobuiltin
H A Dstrcpy-01.ll6 declare i8 *@stpcpy(i8 *%dest, i8 *%src)
22 ; Check stpcpy.
31 %res = call i8 *@stpcpy(i8 *%dest, i8 *%src)
/llvm-project-15.0.7/llvm/test/Instrumentation/ThreadSanitizer/
H A Dstr-nobuiltin.ll11 declare i8* @stpcpy(i8* %a, i8* %b) nounwind
19 ; CHECK: call{{.*}}@stpcpy{{.*}} #[[ATTR]]
29 tail call i8* @stpcpy(i8* %a, i8* %b)
/llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/
H A Dstr-nobuiltin.ll11 declare i8* @stpcpy(i8* %a, i8* %b)
19 ; CHECK: call{{.*}}@stpcpy{{.*}} #[[ATTR]]
29 tail call i8* @stpcpy(i8* %a, i8* %b)
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dstr-nobuiltin.ll11 declare i8* @stpcpy(i8* %a, i8* %b)
19 ; CHECK: call{{.*}}@stpcpy{{.*}} #[[ATTR]]
29 tail call i8* @stpcpy(i8* %a, i8* %b)
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcalls-fno-builtin.c30 char *stpcpy(char *s1, const char *s2);
101 char *t13(char *x) { return stpcpy(x, "foo"); } in t13()
/llvm-project-15.0.7/libc/src/string/
H A Dstpcpy.h14 char *stpcpy(char *__restrict dest, const char *__restrict src);
H A Dstpcpy.cpp18 LLVM_LIBC_FUNCTION(char *, stpcpy,
H A DCMakeLists.txt51 stpcpy
53 stpcpy.cpp
55 stpcpy.h
/llvm-project-15.0.7/clang/test/Sema/
H A Dbuiltins-gnu-mode.c6 int stpcpy; variable
/llvm-project-15.0.7/libc/AOR_v20.02/string/
H A DDir.mk32 build/bin/test/stpcpy \
84 $(EMULATOR) build/bin/test/stpcpy
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstring.c389 #define stpcpy(a,b) __stpcpy_chk(a,b,(size_t)-1) macro
393 #define stpcpy BUILTIN(stpcpy) macro
394 char *stpcpy(char *restrict s1, const char *restrict s2);
402 clang_analyzer_eval(stpcpy(x, y) == &x[strlen(y)]); // expected-warning{{TRUE}} in stpcpy_effect()
411 stpcpy(x, y); // expected-warning{{String copy function overflows the destination buffer}} in stpcpy_overflow()
418 stpcpy(x, y); // no-warning in stpcpy_no_overflow()
H A Dtaint-generic.c99 char *stpcpy(char *restrict s1, const char *restrict s2);
171 stpcpy(*(++p), s); // this generates __inline. in testUncontrolledFormatString()
175 stpcpy(spcpy, s); in testUncontrolledFormatString()
179 spcpyret = stpcpy(spcpy, s); in testUncontrolledFormatString()
/llvm-project-15.0.7/libc/AOR_v20.02/string/test/
H A Dstpcpy.c22 F(stpcpy)
/llvm-project-15.0.7/libc/config/linux/arm/
H A Dentrypoints.txt31 libc.src.string.stpcpy
/llvm-project-15.0.7/libc/docs/
H A Dstrings.rst70 stpcpy YES
/llvm-project-15.0.7/libc/config/darwin/arm/
H A Dentrypoints.txt31 libc.src.string.stpcpy

12