| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-diagnose-as-builtin.c | 8 void *test_memcpy(const void *src, size_t c, void *dst) __attribute__((diagnose_as_builtin(__builti… in test_memcpy() function 15 test_memcpy(bufferB, 10, bufferA); in call_test_memcpy() 16 …test_memcpy(bufferB, 11, bufferA); // expected-warning {{'memcpy' will always overflow; destinatio… in call_test_memcpy() 106 …__attribute__((diagnose_as_builtin(__builtin_memcpy, 3, 1, 2))) static void *test_memcpy(const voi… in test_memcpy() function 114 S::test_memcpy(bufferB, 10, bufferA); in call_static_test_memcpy() 115 …S::test_memcpy(bufferB, 11, bufferA); // expected-warning {{'memcpy' will always overflow; destina… in call_static_test_memcpy()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/AArch64/ |
| H A D | machine-metadata-error.mir | 8 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) { 13 name: test_memcpy
|
| H A D | machine-metadata.mir | 9 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) { 63 name: test_memcpy 76 ; CHECK-LABEL: name: test_memcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/ |
| H A D | machine-metadata-error.mir | 8 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) { 13 name: test_memcpy
|
| H A D | machine-metadata.mir | 9 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) { 63 name: test_memcpy 76 ; CHECK-LABEL: name: test_memcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/AMDGPU/ |
| H A D | machine-metadata-error.mir | 8 …define i32 @test_memcpy(i32 addrspace(1)* nocapture %p, i32 addrspace(1)* nocapture readonly %q) #… 13 name: test_memcpy
|
| H A D | machine-metadata.mir | 9 …define i32 @test_memcpy(i32 addrspace(1)* nocapture %p, i32 addrspace(1)* nocapture readonly %q) #… 69 name: test_memcpy 82 ; CHECK-LABEL: name: test_memcpy
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constexpr-string.cpp | 502 constexpr int test_memcpy(int a, int b, int n) { 535 static_assert(test_memcpy(1, 2, 4) == 1334); 536 static_assert(test_memcpy(2, 1, 4) == 1224); 537 …static_assert(test_memcpy(0, 1, 8) == 2334); // expected-error {{constant}} expected-note {{in cal… 538 …static_assert(test_memcpy(1, 0, 8) == 1124); // expected-error {{constant}} expected-note {{in cal… 539 …static_assert(test_memcpy(1, 2, 1) == 1334); // expected-error {{constant}} expected-note {{in cal… 540 static_assert(test_memcpy(0, 3, 4) == 4234); 541 …static_assert(test_memcpy(0, 3, 8) == 4234); // expected-error {{constant}} expected-note {{in cal… 542 …static_assert(test_memcpy(2, 0, 12) == 4234); // expected-error {{constant}} expected-note {{in ca…
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/ |
| H A D | opaque-ptr.ll | 6 define void @test_memcpy(ptr %p, ptr byval(i32) %p2) sanitize_memory { 7 ; CHECK-LABEL: @test_memcpy(
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64_32-memcpy.ll | 3 define i64 @test_memcpy(i64* %addr, i8* %src, i1 %tst) minsize { 4 ; CHECK-LABEL: test_memcpy:
|
| H A D | memcpy-scoped-aa.ll | 11 ; MIR-LABEL: name: test_memcpy 14 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) { 15 ; CHECK-LABEL: test_memcpy:
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/DataFlowSanitizer/ |
| H A D | unordered_atomic_mem_intrins.ll | 15 define void @test_memcpy(i8* nocapture, i8* nocapture) { 16 ; CHECK-LABEL: test_memcpy.dfsan
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | redefine_extname.c | 37 void *test_memcpy(void *dst, const void *src, size_t n) { return memcpy(dst, src, n); } in test_memcpy() function
|
| H A D | asm-label.c | 23 void test_memcpy(void *dst, void *src, unsigned long n) { in test_memcpy() function
|
| /llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/ |
| H A D | load-store-to-memcpy.ll | 25 define void @test_memcpy(%T* noalias align 8 %a, %T* noalias align 16 %b) { 26 ; CHECK-LABEL: @test_memcpy(
|
| /llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/ARM/ |
| H A D | memory-intrinsics.ll | 7 define void @test_memcpy(i8* align 4 %dst, i8* align 8 %src, i32 %N) { 8 ; CHECK-LABEL: @test_memcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | memcpy-scoped-aa.ll | 14 ; MIR-LABEL: name: test_memcpy 17 define i32 @test_memcpy(i32 addrspace(1)* nocapture %p, i32 addrspace(1)* nocapture readonly %q) { 19 ; CHECK-LABEL: test_memcpy:
|
| /llvm-project-15.0.7/llvm/test/MachineVerifier/ |
| H A D | test_g_memcpy.mir | 4 name: test_memcpy
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | memcpy-scoped-aa.ll | 13 ; MIR-LABEL: name: test_memcpy 18 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | legalize-memcpy-et-al.mir | 5 name: test_memcpy 11 ; CHECK-LABEL: name: test_memcpy
|
| H A D | arm64-irtranslator.ll | 1141 define void @test_memcpy(i8* %dst, i8* %src, i64 %size) { 1142 ; CHECK-LABEL: name: test_memcpy
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | element-wise-atomic-memory-intrinsics.ll | 3 define void @test_memcpy(i8* %P, i8* %Q, i32 %A, i32 %E) {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/LowOverheadLoops/ |
| H A D | memcall.ll | 4 define void @test_memcpy(i32* nocapture %x, i32* nocapture readonly %y, i32 %n, i32 %m) { 5 ; CHECK-LABEL: test_memcpy:
|
| /llvm-project-15.0.7/compiler-rt/test/dfsan/ |
| H A D | custom.cpp | 240 void test_memcpy() { in test_memcpy() function 2014 test_memcpy(); in main()
|