Home
last modified time | relevance | path

Searched refs:memmove (Results 1 – 25 of 876) sorted by relevance

12345678910>>...36

/external/clang/test/SemaObjC/
Darc-non-pod-memaccess.m9 void *memmove(void *s1, const void *s2, __SIZE_TYPE__ n); function
40memmove(sip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to ow…
42memmove(wip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to ow…
44memmove(aip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to ow…
46 memmove(uip, ptr, 17);
48memmove(ptr, sip, 17); // expected-warning{{source of this 'memmove' call is a pointer to ownershi…
50memmove(ptr, wip, 17); // expected-warning{{source of this 'memmove' call is a pointer to ownershi…
52memmove(ptr, aip, 17); // expected-warning{{source of this 'memmove' call is a pointer to ownershi…
54 memmove(ptr, uip, 17);
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dmemmove.ll1 ; This test makes sure that memmove instructions are properly eliminated.
3 ; RUN: opt < %s -instcombine -S | not grep {call void @llvm.memmove}
11 call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* %B, i32 0, i32 1, i1 false)
17 …call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* getelementptr inbounds ([33 x i8]* @S, i32 0, i3…
27 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %h_p, i32 2, i32 2, i1 false)
28 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %hel_p, i32 4, i32 4, i1 false)
29 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %hello_u_p, i32 8, i32 8, i1 false)
35 tail call void @llvm.memmove.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 false)
39 declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dmemmove-1.ll1 ; Test that the memmove library call simplifier works correctly.
7 declare i8* @memmove(i8*, i8*, i32)
9 ; Check memmove(mem1, mem2, size) -> llvm.memmove(mem1, mem2, size, 1).
13 %ret = call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size)
14 ; CHECK: call void @llvm.memmove
Dmemmove-2.ll1 ; Test that the memmove library call simplifier works correctly.
7 declare i8 @memmove(i8*, i8*, i32)
9 ; Check that memmove functions with the wrong prototype aren't simplified.
13 %ret = call i8 @memmove(i8* %mem1, i8* %mem2, i32 %size)
14 ; CHECK: call i8 @memmove
Dmemmove.ll1 ; This test makes sure that memmove instructions are properly eliminated.
13 call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* %B, i32 0, i1 false)
22 …call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @S…
39 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %target_p, i8* align 2 %h_p, i32 2, i1 false)
40 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 4 %target_p, i8* align 4 %hel_p, i32 4, i1 false)
41 …call void @llvm.memmove.p0i8.p0i8.i32(i8* align 8 %target_p, i8* align 8 %hello_u_p, i32 8, i1 fal…
49 tail call void @llvm.memmove.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i1 false)
53 declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture, i8* nocapture readonly, i32, i1) argmemonly…
Delement-atomic-memintrins.ll93 ;; ----- memmove ------
97 ; Check that a memmove from a global constant is converted into a memcpy
103 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 1 %dest, i8* align 1 gete…
111 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 1 %dest, i8* align 1 %src…
112 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 2 %dest, i8* align 2 %src…
113 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %dest, i8* align 4 %src…
114 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 8 %dest, i8* align 8 %src…
115 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 16 %dest, i8* align 16 %s…
119 ; memmove with src==dest is removed
124 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 1 %srcdest, i8* align 1 %…
[all …]
/external/llvm/test/Transforms/InstCombine/
Dmemmove-1.ll1 ; Test that the memmove library call simplifier works correctly.
7 declare i8* @memmove(i8*, i8*, i32)
9 ; Check memmove(mem1, mem2, size) -> llvm.memmove(mem1, mem2, size, 1).
13 %ret = call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size)
14 ; CHECK: call void @llvm.memmove
Dmemmove.ll1 ; This test makes sure that memmove instructions are properly eliminated.
3 ; RUN: opt < %s -instcombine -S | not grep "call void @llvm.memmove"
11 call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* %B, i32 0, i32 1, i1 false)
17 …call void @llvm.memmove.p0i8.p0i8.i32(i8* %A, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @S…
27 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %h_p, i32 2, i32 2, i1 false)
28 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %hel_p, i32 4, i32 4, i1 false)
29 call void @llvm.memmove.p0i8.p0i8.i32(i8* %target_p, i8* %hello_u_p, i32 8, i32 8, i1 false)
35 tail call void @llvm.memmove.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 false)
39 declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
Dmemmove-2.ll1 ; Test that the memmove library call simplifier works correctly.
7 declare i8 @memmove(i8*, i8*, i32)
9 ; Check that memmove functions with the wrong prototype aren't simplified.
13 %ret = call i8 @memmove(i8* %mem1, i8* %mem2, i32 %size)
14 ; CHECK: call i8 @memmove
/external/skia/src/pathops/
DSkIntersections.cpp58 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in insert()
59 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in insert()
60 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in insert()
86 memmove(&fPt[index + 1], &fPt[index], sizeof(fPt[0]) * remaining); in insert()
87 memmove(&fT[0][index + 1], &fT[0][index], sizeof(fT[0][0]) * remaining); in insert()
88 memmove(&fT[1][index + 1], &fT[1][index], sizeof(fT[1][0]) * remaining); in insert()
165 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in removeOne()
166 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in removeOne()
167 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in removeOne()
/external/skqp/src/pathops/
DSkIntersections.cpp58 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in insert()
59 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in insert()
60 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in insert()
86 memmove(&fPt[index + 1], &fPt[index], sizeof(fPt[0]) * remaining); in insert()
87 memmove(&fT[0][index + 1], &fT[0][index], sizeof(fT[0][0]) * remaining); in insert()
88 memmove(&fT[1][index + 1], &fT[1][index], sizeof(fT[1][0]) * remaining); in insert()
165 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in removeOne()
166 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in removeOne()
167 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in removeOne()
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dnacl-mem-intrinsics.ll1 ; This tests the NaCl intrinsics memset, memcpy and memmove.
26 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
197 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dst, i8* %src,
202 ; CHECK: call {{.*}} R_{{.*}} memmove
204 ; OM1: call {{.*}} memmove
206 ; ARM32: bl {{.*}} memmove
208 ; MIPS32: jal {{.*}} memmove
215 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dst, i8* %src,
220 ; CHECK: call {{.*}} R_{{.*}} memmove
222 ; OM1: call {{.*}} memmove
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/Lint/
Dmemintrin.ll25 declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture writeonly, i8* nocapture readonly, i32, i1) …
34 ; CHECK-NEXT: call void @llvm.memmove.p0i8.p0i8.i32(i8* align 4 %dst.i8, i8* align 4 %src.i8, i32 2…
35 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 4 %dst.i8, i8* align 4 %src.i8, i32 200, i1 false)
37 ; CHECK-NEXT: call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %dst.i8, i8* align 8 %src.i8, i32 2…
38 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %dst.i8, i8* align 8 %src.i8, i32 200, i1 false)
39 ; CHECK-NOT: @llvm.memmove.p0i8.p0i8.i32
40 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 1 %dst.i8, i8* align 4 %src.i8, i32 200, i1 false)
41 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %dst.i8, i8* align 2 %src.i8, i32 200, i1 false)
42 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %dst.i8, i8* align 4 %src.i8, i32 200, i1 false)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dupgrade-memory-intrinsics.ll3 ; Test to ensure that calls to the memcpy/memmove/memset intrinsics are auto-upgraded
11 ; CHECK: call void @llvm.memmove.p0i8.p0i8.i64(i8* align 4 %p2, i8* align 4 %p3, i64 1000, i1 false)
14 call void @llvm.memmove.p0i8.p0i8.i64(i8* %p2, i8* %p3, i64 1000, i32 4, i1 false)
23 ; CHECK: call void @llvm.memmove.p0i8.p0i8.i64(i8* %p2, i8* %p3, i64 1000, i1 false)
26 call void @llvm.memmove.p0i8.p0i8.i64(i8* %p2, i8* %p3, i64 1000, i32 0, i1 false)
32 ; CHECK: declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i1)
35 declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/ARM/
Dmemory-intrinsics.ll4 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i1) nounwind
21 ; CHECK: call void @llvm.memmove.p0i8.p0i8.i32(i8* align 4 %dst, i8* align 8 %src, i32 %N, i1 false)
22 ; CHECK: call void @llvm.memmove.p0i8.p0i8.i32(i8* align 4 %dst, i8* align 8 %src, i32 %N, i1 false)
23 ; CHECK: call void @llvm.memmove.p0i8.p0i8.i32(i8* align 8 %dst, i8* align 16 %src, i32 %N, i1 fals…
25 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dst, i8* %src, i32 %N, i1 false)
26 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 2 %dst, i8* align 2 %src, i32 %N, i1 false)
27 call void @llvm.memmove.p0i8.p0i8.i32(i8* align 8 %dst, i8* align 16 %src, i32 %N, i1 false)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/
Dmemintrinsics.ll5 declare void @llvm.memmove.p0i8.p0i8.i8(i8* nocapture, i8* nocapture, i8, i1) nounwind
29 store i8 0, i8* %A ;; Written to by memmove
31 call void @llvm.memmove.p0i8.p0i8.i8(i8* %A, i8* %B, i8 -1, i1 false)
51 declare void @llvm.memmove.element.unordered.atomic.p0i16.p0i16.i16(i16* nocapture, i16* nocapture,…
77 store atomic i16 0, i16* %A unordered, align 2 ;; Written to by memmove
78 store atomic i16 0, i16* %B unordered, align 2 ;; Read by memmove
80 …call void @llvm.memmove.element.unordered.atomic.p0i16.p0i16.i16(i16* align 2 %A, i16* align 2 %B,…
/external/clang/lib/Sema/
DTypeLocBuilder.cpp100 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
111 memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
122 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
134 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
145 memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
/external/clang/test/Analysis/
Dbstring.c320 #define memmove(a,b,c) __memmove_chk(a,b,c,(size_t)-1) macro
324 #define memmove BUILTIN(memmove) macro
325 void *memmove(void *s1, const void *s2, size_t n);
334 memmove(dst, src, 4); // no-warning in memmove0()
336 clang_analyzer_eval(memmove(dst, src, 4) == dst); // expected-warning{{TRUE}} in memmove0()
347 memmove(dst, src, 5); // expected-warning{{out-of-bound}} in memmove1()
354 memmove(dst, src, 4); // expected-warning{{overflow}} in memmove2()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MemCpyOpt/
Dmemmove.ll7 declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) nounwind
17 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %call3.sub, i8* %src, i64 13, i1 false)
28 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 16, i1 false)
36 ; CHECK: call void @llvm.memmove
38 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 17, i1 false)
/external/llvm/test/Transforms/MemCpyOpt/
Dmemmove.ll7 declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
17 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %call3.sub, i8* %src, i64 13, i32 1, i1 false)
28 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 16, i32 1, i1 false)
36 ; CHECK: call void @llvm.memmove
38 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 17, i32 1, i1 false)
/external/swiftshader/third_party/LLVM/test/Transforms/MemCpyOpt/
Dmemmove.ll7 declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
17 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %call3.sub, i8* %src, i64 13, i32 1, i1 false)
28 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 16, i32 1, i1 false)
36 ; CHECK: call void @llvm.memmove
38 tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %P, i8* %add.ptr, i64 17, i32 1, i1 false)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dtailcall-mem-intrinsics.ll12 ; CHECK: jmp memmove
15 tail call void @llvm.memmove.p0i8.p0i8.i32(i8* %p, i8* %q, i32 %n, i1 false)
36 ; CHECK: jmp memmove
39 tail call void @llvm.memmove.p0i8.p0i8.i32(i8* %p, i8* %q, i32 %n, i1 false)
52 declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture, i8* nocapture readonly, i32, i1) #0
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Delement-wise-atomic-memory-intrinsics.ll28 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %P, i8* align 4 %Q, i32…
30 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %P, i8* align 4 %Q, i32…
33 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %P, i8* align 4 %Q, i32…
36 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* %P, i8* align 4 %Q, i32 1, i32 …
38 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 1 %P, i8* align 4 %Q, i32…
41 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %P, i8* %Q, i32 1, i32 …
43 …call void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* align 4 %P, i8* align 1 %Q, i32…
47 declare void @llvm.memmove.element.unordered.atomic.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32…
/external/llvm/test/CodeGen/ARM/
Dmemfunc.ll18 ; CHECK-GNUEABI: bl memmove
19 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 500, i32 0, i1 false)
52 ; CHECK-GNUEABI: bl memmove
53 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 500, i32 4, i1 false)
76 ; CHECK-GNUEABI: bl memmove
77 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 500, i32 8, i1 false)
113 ; CHECK-GNUEABI: bl memmove
116 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dest, i8* %0, i32 %n, i32 0, i1 false)
155 ; CHECK-GNUEABI: bl memmove
158 call void @llvm.memmove.p0i8.p0i8.i32(i8* %dest, i8* %0, i32 %n, i32 0, i1 false)
[all …]
/external/skia/src/core/
DSkArenaAlloc.cpp52 memmove(fCursor, &encodedFooter, sizeof(Footer)); in installFooter()
58 memmove(fCursor, &ptr, sizeof(char*)); in installPtrFooter()
66 memmove(&skip, objEnd, sizeof(int32_t)); in SkipPod()
85 memmove(&next, objEnd, sizeof(char*)); in NextBlock()
92 memmove(fCursor, &value, sizeof(uint32_t)); in installUint32Footer()

12345678910>>...36