Lines Matching refs:ARM64
1 … -relocation-model=dynamic-no-pic -mtriple=arm64-apple-ios < %s | FileCheck %s --check-prefix=ARM64
7 ; ARM64-LABEL: t1
8 ; ARM64: adrp x8, _message@PAGE
9 ; ARM64: add x0, x8, _message@PAGEOFF
10 ; ARM64: mov w9, wzr
11 ; ARM64: mov x2, #80
12 ; ARM64: uxtb w1, w9
13 ; ARM64: bl _memset
21 ; ARM64-LABEL: t2
22 ; ARM64: adrp x8, _temp@GOTPAGE
23 ; ARM64: ldr x0, [x8, _temp@GOTPAGEOFF]
24 ; ARM64: adrp x8, _message@PAGE
25 ; ARM64: add x1, x8, _message@PAGEOFF
26 ; ARM64: mov x2, #80
27 ; ARM64: bl _memcpy
35 ; ARM64-LABEL: t3
36 ; ARM64: adrp x8, _temp@GOTPAGE
37 ; ARM64: ldr x0, [x8, _temp@GOTPAGEOFF]
38 ; ARM64: adrp x8, _message@PAGE
39 ; ARM64: add x1, x8, _message@PAGEOFF
40 ; ARM64: mov x2, #20
41 ; ARM64: bl _memmove
49 ; ARM64-LABEL: t4
50 ; ARM64: adrp x8, _temp@GOTPAGE
51 ; ARM64: ldr x8, [x8, _temp@GOTPAGEOFF]
52 ; ARM64: adrp x9, _message@PAGE
53 ; ARM64: add x9, x9, _message@PAGEOFF
54 ; ARM64: ldr x10, [x9]
55 ; ARM64: str x10, [x8]
56 ; ARM64: ldr x10, [x9, #8]
57 ; ARM64: str x10, [x8, #8]
58 ; ARM64: ldrb w11, [x9, #16]
59 ; ARM64: strb w11, [x8, #16]
60 ; ARM64: ret
66 ; ARM64-LABEL: t5
67 ; ARM64: adrp x8, _temp@GOTPAGE
68 ; ARM64: ldr x8, [x8, _temp@GOTPAGEOFF]
69 ; ARM64: adrp x9, _message@PAGE
70 ; ARM64: add x9, x9, _message@PAGEOFF
71 ; ARM64: ldr x10, [x9]
72 ; ARM64: str x10, [x8]
73 ; ARM64: ldr x10, [x9, #8]
74 ; ARM64: str x10, [x8, #8]
75 ; ARM64: ldrb w11, [x9, #16]
76 ; ARM64: strb w11, [x8, #16]
77 ; ARM64: ret
83 ; ARM64-LABEL: t6
84 ; ARM64: adrp x8, _temp@GOTPAGE
85 ; ARM64: ldr x8, [x8, _temp@GOTPAGEOFF]
86 ; ARM64: adrp x9, _message@PAGE
87 ; ARM64: add x9, x9, _message@PAGEOFF
88 ; ARM64: ldr w10, [x9]
89 ; ARM64: str w10, [x8]
90 ; ARM64: ldr w10, [x9, #4]
91 ; ARM64: str w10, [x8, #4]
92 ; ARM64: ldrb w10, [x9, #8]
93 ; ARM64: strb w10, [x8, #8]
94 ; ARM64: ret
100 ; ARM64-LABEL: t7
101 ; ARM64: adrp x8, _temp@GOTPAGE
102 ; ARM64: ldr x8, [x8, _temp@GOTPAGEOFF]
103 ; ARM64: adrp x9, _message@PAGE
104 ; ARM64: add x9, x9, _message@PAGEOFF
105 ; ARM64: ldrh w10, [x9]
106 ; ARM64: strh w10, [x8]
107 ; ARM64: ldrh w10, [x9, #2]
108 ; ARM64: strh w10, [x8, #2]
109 ; ARM64: ldrh w10, [x9, #4]
110 ; ARM64: strh w10, [x8, #4]
111 ; ARM64: ldrb w10, [x9, #6]
112 ; ARM64: strb w10, [x8, #6]
113 ; ARM64: ret
119 ; ARM64-LABEL: t8
120 ; ARM64: adrp x8, _temp@GOTPAGE
121 ; ARM64: ldr x8, [x8, _temp@GOTPAGEOFF]
122 ; ARM64: adrp x9, _message@PAGE
123 ; ARM64: add x9, x9, _message@PAGEOFF
124 ; ARM64: ldrb w10, [x9]
125 ; ARM64: strb w10, [x8]
126 ; ARM64: ldrb w10, [x9, #1]
127 ; ARM64: strb w10, [x8, #1]
128 ; ARM64: ldrb w10, [x9, #2]
129 ; ARM64: strb w10, [x8, #2]
130 ; ARM64: ldrb w10, [x9, #3]
131 ; ARM64: strb w10, [x8, #3]
132 ; ARM64: ret
138 ; ARM64-LABEL: test_distant_memcpy:
139 ; ARM64: mov [[ARRAY:x[0-9]+]], sp
140 ; ARM64: mov [[OFFSET:x[0-9]+]], #8000
141 ; ARM64: add x[[ADDR:[0-9]+]], [[ARRAY]], [[OFFSET]]
142 ; ARM64: ldrb [[BYTE:w[0-9]+]], [x[[ADDR]]]
143 ; ARM64: strb [[BYTE]], [x0]