Lines Matching refs:THUMB
3 …dynamic-no-pic -mtriple=thumbv7-apple-ios -verify-machineinstrs | FileCheck %s --check-prefix=THUMB
6 …thumbv7-apple-ios -mattr=+long-calls -verify-machineinstrs | FileCheck %s --check-prefix=THUMB-LONG
34 ; THUMB-LABEL: t1:
35 ; THUMB: {{(movw r0, :lower16:_?message1)|(ldr.n r0, .LCPI)}}
36 ; THUMB: {{(movt r0, :upper16:_?message1)|(ldr r0, \[r0\])}}
37 ; THUMB: adds r0, #5
38 ; THUMB: movs r1, #64
39 ; THUMB: movs r2, #10
40 ; THUMB: and r1, r1, #255
41 ; THUMB: bl {{_?}}memset
42 ; THUMB-LONG-LABEL: t1:
43 ; THUMB-LONG: movw r3, :lower16:L_memset$non_lazy_ptr
44 ; THUMB-LONG: movt r3, :upper16:L_memset$non_lazy_ptr
45 ; THUMB-LONG: ldr r3, [r3]
46 ; THUMB-LONG: blx r3
80 ; THUMB-LABEL: t2:
81 ; THUMB: {{(movw r0, :lower16:L_temp\$non_lazy_ptr)|(ldr.n r0, .LCPI)}}
82 ; THUMB: {{(movt r0, :upper16:L_temp\$non_lazy_ptr)?}}
83 ; THUMB: ldr r0, [r0]
84 ; THUMB: adds r1, r0, #4
85 ; THUMB: adds r0, #16
86 ; THUMB: movs r2, #17
87 ; THUMB: str r0, [sp[[SLOT:[, #0-9]*]]] @ 4-byte Spill
88 ; THUMB: mov r0, r1
89 ; THUMB: ldr r1, [sp[[SLOT]]] @ 4-byte Reload
90 ; THUMB: bl {{_?}}memcpy
91 ; THUMB-LONG-LABEL: t2:
92 ; THUMB-LONG: movw r3, :lower16:L_memcpy$non_lazy_ptr
93 ; THUMB-LONG: movt r3, :upper16:L_memcpy$non_lazy_ptr
94 ; THUMB-LONG: ldr r3, [r3]
95 ; THUMB-LONG: blx r3
128 ; THUMB-LABEL: t3:
129 ; THUMB: {{(movw r0, :lower16:L_temp\$non_lazy_ptr)|(ldr.n r0, .LCPI)}}
130 ; THUMB: {{(movt r0, :upper16:L_temp\$non_lazy_ptr)?}}
131 ; THUMB: ldr r0, [r0]
132 ; THUMB: adds r1, r0, #4
133 ; THUMB: adds r0, #16
134 ; THUMB: movs r2, #10
135 ; THUMB: str r0, [sp[[SLOT:[, #0-9]*]]] @ 4-byte Spill
136 ; THUMB: mov r0, r1
137 ; THUMB: ldr r1, [sp[[SLOT]]] @ 4-byte Reload
138 ; THUMB: bl {{_?}}memmove
139 ; THUMB-LONG-LABEL: t3:
140 ; THUMB-LONG: movw r3, :lower16:L_memmove$non_lazy_ptr
141 ; THUMB-LONG: movt r3, :upper16:L_memmove$non_lazy_ptr
142 ; THUMB-LONG: ldr r3, [r3]
143 ; THUMB-LONG: blx r3
165 ; THUMB-LABEL: t4:
166 ; THUMB: {{(movw r0, :lower16:L_temp\$non_lazy_ptr)|(ldr.n r0, .LCPI)}}
167 ; THUMB: {{(movt r0, :upper16:L_temp\$non_lazy_ptr)?}}
168 ; THUMB: ldr r0, [r0]
169 ; THUMB: ldr r1, [r0, #16]
170 ; THUMB: str r1, [r0, #4]
171 ; THUMB: ldr r1, [r0, #20]
172 ; THUMB: str r1, [r0, #8]
173 ; THUMB: ldrh r1, [r0, #24]
174 ; THUMB: strh r1, [r0, #12]
175 ; THUMB: bx lr
203 ; THUMB-LABEL: t5:
204 ; THUMB: {{(movw r0, :lower16:L_temp\$non_lazy_ptr)|(ldr.n r0, .LCPI)}}
205 ; THUMB: {{(movt r0, :upper16:L_temp\$non_lazy_ptr)?}}
206 ; THUMB: ldr r0, [r0]
207 ; THUMB: ldrh r1, [r0, #16]
208 ; THUMB: strh r1, [r0, #4]
209 ; THUMB: ldrh r1, [r0, #18]
210 ; THUMB: strh r1, [r0, #6]
211 ; THUMB: ldrh r1, [r0, #20]
212 ; THUMB: strh r1, [r0, #8]
213 ; THUMB: ldrh r1, [r0, #22]
214 ; THUMB: strh r1, [r0, #10]
215 ; THUMB: ldrh r1, [r0, #24]
216 ; THUMB: strh r1, [r0, #12]
217 ; THUMB: bx lr
253 ; THUMB-LABEL: t6:
254 ; THUMB: {{(movw r0, :lower16:L_temp\$non_lazy_ptr)|(ldr.n r0, .LCPI)}}
255 ; THUMB: {{(movt r0, :upper16:L_temp\$non_lazy_ptr)?}}
256 ; THUMB: ldr r0, [r0]
257 ; THUMB: ldrb r1, [r0, #16]
258 ; THUMB: strb r1, [r0, #4]
259 ; THUMB: ldrb r1, [r0, #17]
260 ; THUMB: strb r1, [r0, #5]
261 ; THUMB: ldrb r1, [r0, #18]
262 ; THUMB: strb r1, [r0, #6]
263 ; THUMB: ldrb r1, [r0, #19]
264 ; THUMB: strb r1, [r0, #7]
265 ; THUMB: ldrb r1, [r0, #20]
266 ; THUMB: strb r1, [r0, #8]
267 ; THUMB: ldrb r1, [r0, #21]
268 ; THUMB: strb r1, [r0, #9]
269 ; THUMB: ldrb r1, [r0, #22]
270 ; THUMB: strb r1, [r0, #10]
271 ; THUMB: ldrb r1, [r0, #23]
272 ; THUMB: strb r1, [r0, #11]
273 ; THUMB: ldrb r1, [r0, #24]
274 ; THUMB: strb r1, [r0, #12]
275 ; THUMB: ldrb r1, [r0, #25]
276 ; THUMB: strb r1, [r0, #13]
277 ; THUMB: bx lr
293 ; THUMB-LABEL: t8:
294 ; THUMB-NOT: FastISel missed call: %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)