| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | stpcpy-1.ll | 2 ; 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 D | stpcpy-2.ll | 1 ; 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 D | strcpy-nonzero-as.ll | 10 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 D | sprintf-1.ll | 103 ; 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 D | stpcpy_chk-1.ll | 67 ; 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 D | disable-simplify-libcalls.ll | 28 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 D | stpcpy_test.cpp | 19 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 D | CMakeLists.txt | 52 libc.src.string.stpcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | strcpy-nobuiltin.ll | 7 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 D | strcpy-01.ll | 6 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 D | str-nobuiltin.ll | 11 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 D | str-nobuiltin.ll | 11 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 D | str-nobuiltin.ll | 11 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 D | libcalls-fno-builtin.c | 30 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 D | stpcpy.h | 14 char *stpcpy(char *__restrict dest, const char *__restrict src);
|
| H A D | stpcpy.cpp | 18 LLVM_LIBC_FUNCTION(char *, stpcpy,
|
| H A D | CMakeLists.txt | 51 stpcpy 53 stpcpy.cpp 55 stpcpy.h
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | builtins-gnu-mode.c | 6 int stpcpy; variable
|
| /llvm-project-15.0.7/libc/AOR_v20.02/string/ |
| H A D | Dir.mk | 32 build/bin/test/stpcpy \ 84 $(EMULATOR) build/bin/test/stpcpy
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | string.c | 389 #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 D | taint-generic.c | 99 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 D | stpcpy.c | 22 F(stpcpy)
|
| /llvm-project-15.0.7/libc/config/linux/arm/ |
| H A D | entrypoints.txt | 31 libc.src.string.stpcpy
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | strings.rst | 70 stpcpy YES
|
| /llvm-project-15.0.7/libc/config/darwin/arm/ |
| H A D | entrypoints.txt | 31 libc.src.string.stpcpy
|