/llvm-project/llvm/test/Transforms/InstCombine/ |
H A D | memcpy_chk-1.ll | 2 ; Test lib call simplification of __memcpy_chk calls with various values 24 %ret = call ptr @__memcpy_chk(ptr @t1, ptr @t2, i64 1824, i64 1824) 33 %ret = call ptr @__memcpy_chk(ptr @t1, ptr @t3, i64 1824, i64 2848) 43 %ret = tail call ptr @__memcpy_chk(ptr @t1, ptr @t2, i64 1824, i64 1824) 51 ; CHECK-NEXT: [[RET:%.*]] = call ptr @__memcpy_chk(ptr nonnull @t3, ptr nonnull @t1, i64 2848, i… 54 %ret = call ptr @__memcpy_chk(ptr @t3, ptr @t1, i64 2848, i64 1824) 60 ; CHECK-NEXT: [[RET:%.*]] = call ptr @__memcpy_chk(ptr nonnull @t1, ptr nonnull @t2, i64 1024, i… 63 %ret = call ptr @__memcpy_chk(ptr @t1, ptr @t2, i64 1024, i64 0) 69 ; CHECK-NEXT: [[RET:%.*]] = musttail call ptr @__memcpy_chk(ptr [[DST:%.*]], ptr [[SRC:%.*]], i6… 72 %ret = musttail call ptr @__memcpy_chk(ptr %dst, ptr %src, i64 1824, i64 1824) [all …]
|
H A D | memcpy_chk-2.ll | 1 ; Test that lib call simplification doesn't simplify __memcpy_chk calls 17 ; CHECK-NEXT: call ptr @__memcpy_chk 18 call ptr @__memcpy_chk(ptr @t1, ptr @t2, i64 1824) 22 declare ptr @__memcpy_chk(ptr, ptr, i64)
|
H A D | objsize.ll | 100 declare ptr @__memcpy_chk(ptr, ptr, i32, i32) nounwind 124 %2 = call ptr @__memcpy_chk(ptr %ptr1, ptr %ptr2, i32 512, i32 %1) nounwind ; <ptr> [#uses=0] 168 %3 = tail call ptr @__memcpy_chk(ptr %0, ptr %2, i32 10, i32 %1) nounwind 177 ; CHECK-NEXT: [[TMP2:%.*]] = tail call ptr @__memcpy_chk(ptr [[TMP0]], ptr [[TMP1]], i32 30, i32 20) #[[ATTR0]] 184 %3 = tail call ptr @__memcpy_chk(ptr %0, ptr %2, i32 30, i32 %1) nounwind
|
H A D | annotations.ll | 68 declare ptr @__memcpy_chk(ptr, ptr, i64, i64) nofree nounwind 76 call ptr @__memcpy_chk(ptr %d, ptr %s, i64 1, i64 1), !annotation !0
|
H A D | stpcpy_chk-1.ll | 82 ; CHECK-NEXT: [[TMP1:%.*]] = call ptr @__memcpy_chk(ptr nonnull @a, ptr nonnull @.str, i32 12, i32 [[LEN]])
|
H A D | strcpy_chk-1.ll | 82 ; CHECK-NEXT: [[RET:%.*]] = call ptr @__memcpy_chk(ptr nonnull @a, ptr nonnull @.str, i32 12, i3…
|
/llvm-project/llvm/test/Transforms/DeadStoreElimination/ |
H A D | libcalls-chk.ll | 7 declare ptr @__memcpy_chk(ptr writeonly, ptr readonly, i64, i64) argmemonly nounwind 110 ; CHECK-NEXT: [[CALL_1:%.*]] = tail call ptr @__memcpy_chk(ptr [[OUT:%.*]], ptr [[IN:%.*]], i64 … 114 %call.1 = tail call ptr @__memcpy_chk(ptr %out, ptr %in, i64 100, i64 %n) 122 ; CHECK-NEXT: [[CALL_1:%.*]] = tail call ptr @__memcpy_chk(ptr [[OUT]], ptr [[IN:%.*]], i64 100,… 127 %call.1 = tail call ptr @__memcpy_chk(ptr %out, ptr %in, i64 100, i64 %n) 134 ; CHECK-NEXT: [[CALL:%.*]] = call ptr @__memcpy_chk(ptr [[A]], ptr [[C:%.*]], i64 1, i64 10) 138 %call = call ptr @__memcpy_chk(ptr %A, ptr %C, i64 1, i64 10)
|
/llvm-project/clang/test/Analysis/ |
H A D | bstring.c | 64 #define __memcpy_chk BUILTIN(__memcpy_chk) macro 65 void *__memcpy_chk(void *restrict s1, const void *restrict s2, size_t n, 68 #define memcpy(a,b,c) __memcpy_chk(a,b,c,(size_t)-1)
|
/llvm-project/llvm/test/Analysis/BasicAA/ |
H A D | libfuncs.ll | 319 declare ptr @__memcpy_chk(ptr writeonly, ptr readonly, i64, i64) 323 ; CHECK: Just Mod: Ptr: i8* %a <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b, i64 4… 324 ; CHECK-NEXT: Just Mod: Ptr: i8* %res <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b, i64… 325 ; CHECK-NEXT: Just Mod: Ptr: i8* %a.gep.1 <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b,… 326 ; CHECK-NEXT: NoModRef: Ptr: i8* %a.gep.5 <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b,… 327 ; CHECK-NEXT: Just Ref: Ptr: i8* %b.gep.1 <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b,… 328 ; CHECK-NEXT: NoModRef: Ptr: i8* %b.gep.5 <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b,… 332 %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b, i64 4, i64 %n) 347 ; CHECK: Just Mod: Ptr: i8* %a <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b, i64 %… 348 ; CHECK-NEXT: Just Mod: Ptr: i8* %res <-> %res = tail call ptr @__memcpy_chk(ptr %a, ptr %b, i64… [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
H A D | memcpy_chk_no_tail.ll | 15 %call = call ptr @__memcpy_chk(ptr %q, ptr nonnull %a, i64 1000, i64 %obj) #4 20 declare ptr @__memcpy_chk(ptr, ptr, i64, i64) local_unnamed_addr #2
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | memsize-remarks.ll | 9 declare ptr @__memcpy_chk(ptr, ptr, i64, i64) #1 23 %call = call ptr @__memcpy_chk(ptr %d, ptr %s, i64 %l, i64 %0) #4, !dbg !17 31 %call = call ptr @__memcpy_chk(ptr %d, ptr %s, i64 1, i64 %0) #4, !dbg !25 47 %call = call ptr @__memcpy_chk(ptr %d, ptr %s, i64 100, i64 %0) #4, !dbg !29 55 %call = call ptr @__memcpy_chk(ptr %d, ptr %s, i64 100000, i64 %0) #4, !dbg !33 136 %call = call ptr @__memcpy_chk(ptr %d, ptr %s, i64 0, i64 %0) #4, !dbg !21
|
/llvm-project/clang/test/CodeGen/ |
H A D | builtins.c | 119 V(__memcpy_chk, (s0, s1, sizeof s0, n)); in main()
|
/llvm-project/llvm/test/Transforms/InferFunctionAttrs/ |
H A D | annotate.ll | 717 ; CHECK: declare ptr @__memcpy_chk(ptr noalias writeonly, ptr noalias readonly captures(none), i64, i64) [[ARGMEMONLY_NOFREE_NOUNWIND:#[0-9]+]] 718 declare ptr @__memcpy_chk(ptr, ptr, i64, i64)
|
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.def | 662 /// void *__memcpy_chk(void *s1, const void *s2, size_t n, size_t s1size); 664 TLI_DEFINE_STRING_INTERNAL("__memcpy_chk")
|
/llvm-project/compiler-rt/lib/dfsan/ |
H A D | libc_ubuntu1404_abilist.txt | 846 fun:__memcpy_chk=uninstrumented
|