Home
last modified time | relevance | path

Searched refs:test_memcpy (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-diagnose-as-builtin.c8 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()
16test_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 Dmachine-metadata-error.mir8 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) {
13 name: test_memcpy
H A Dmachine-metadata.mir9 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 Dmachine-metadata-error.mir8 define i32 @test_memcpy(i32* nocapture %p, i32* nocapture readonly %q) {
13 name: test_memcpy
H A Dmachine-metadata.mir9 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 Dmachine-metadata-error.mir8 …define i32 @test_memcpy(i32 addrspace(1)* nocapture %p, i32 addrspace(1)* nocapture readonly %q) #…
13 name: test_memcpy
H A Dmachine-metadata.mir9 …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 Dconstexpr-string.cpp502 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 Dopaque-ptr.ll6 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 Darm64_32-memcpy.ll3 define i64 @test_memcpy(i64* %addr, i8* %src, i1 %tst) minsize {
4 ; CHECK-LABEL: test_memcpy:
H A Dmemcpy-scoped-aa.ll11 ; 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 Dunordered_atomic_mem_intrins.ll15 define void @test_memcpy(i8* nocapture, i8* nocapture) {
16 ; CHECK-LABEL: test_memcpy.dfsan
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dredefine_extname.c37 void *test_memcpy(void *dst, const void *src, size_t n) { return memcpy(dst, src, n); } in test_memcpy() function
H A Dasm-label.c23 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 Dload-store-to-memcpy.ll25 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 Dmemory-intrinsics.ll7 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 Dmemcpy-scoped-aa.ll14 ; 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 Dtest_g_memcpy.mir4 name: test_memcpy
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dmemcpy-scoped-aa.ll13 ; 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 Dlegalize-memcpy-et-al.mir5 name: test_memcpy
11 ; CHECK-LABEL: name: test_memcpy
H A Darm64-irtranslator.ll1141 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 Delement-wise-atomic-memory-intrinsics.ll3 define void @test_memcpy(i8* %P, i8* %Q, i32 %A, i32 %E) {
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/LowOverheadLoops/
H A Dmemcall.ll4 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 Dcustom.cpp240 void test_memcpy() { in test_memcpy() function
2014 test_memcpy(); in main()