• Home
  • Raw
  • Download

Lines Matching refs:APPLE

1 …: llc -verify-machineinstrs < %s -mtriple=armv7-apple-ios | FileCheck --check-prefix=CHECK-APPLE %s
12 ; CHECK-APPLE-LABEL: foo:
13 ; CHECK-APPLE: mov r0, #16
14 ; CHECK-APPLE: malloc
15 ; CHECK-APPLE-DAG: mov [[ID:r[0-9]+]], #1
16 ; CHECK-APPLE-DAG: mov r6, r{{.*}}
17 ; CHECK-APPLE-DAG: strb [[ID]], [r{{.*}}, #8]
37 ; CHECK-APPLE-LABEL: caller:
38 ; CHECK-APPLE-DAG: mov [[ID:r[0-9]+]], r0
39 ; CHECK-APPLE-DAG: mov r6, #0
40 ; CHECK-APPLE: bl {{.*}}foo
41 ; CHECK-APPLE: cmp r6, #0
43 ; CHECK-APPLE: ldrbeq [[CODE:r[0-9]+]], [r6, #8]
44 ; CHECK-APPLE: strbeq [[CODE]], [{{.*}}[[ID]]]
45 ; CHECK-APPLE: mov r0, r6
81 ; CHECK-APPLE-LABEL: caller2:
82 ; CHECK-APPLE-DAG: mov [[ID:r[0-9]+]], r0
83 ; CHECK-APPLE-DAG: mov r6, #0
84 ; CHECK-APPLE: bl {{.*}}foo
85 ; CHECK-APPLE: cmp r6, #0
86 ; CHECK-APPLE: bne
88 ; CHECK-APPLE: ldrb [[CODE:r[0-9]+]], [r6, #8]
89 ; CHECK-APPLE: strb [[CODE]], [{{.*}}[[ID]]]
90 ; CHECK-APPLE: mov r0, r6
133 ; CHECK-APPLE-LABEL: foo_if:
134 ; CHECK-APPLE: cmp r0, #0
135 ; CHECK-APPLE: eq
136 ; CHECK-APPLE: mov r0, #16
137 ; CHECK-APPLE: malloc
138 ; CHECK-APPLE: mov [[ID:r[0-9]+]], #1
139 ; CHECK-APPLE-DAG: mov r6, r{{.*}}
140 ; CHECK-APPLE-DAG: strb [[ID]], [r{{.*}}, #8]
174 ; CHECK-APPLE-LABEL: foo_loop:
175 ; CHECK-APPLE: mov [[CODE:r[0-9]+]], r0
177 ; CHECK-APPLE: mov [[ID:r[0-9]+]], r6
178 ; CHECK-APPLE: cmp [[CODE]], #0
179 ; CHECK-APPLE: beq
180 ; CHECK-APPLE: mov r0, #16
181 ; CHECK-APPLE: malloc
182 ; CHECK-APPLE: strb r{{.*}}, [{{.*}}[[ID]], #8]
183 ; CHECK-APPLE: ble
184 ; CHECK-APPLE: mov r6, [[ID]]
227 ; CHECK-APPLE-LABEL: foo_sret:
228 ; CHECK-APPLE: mov [[SRET:r[0-9]+]], r0
229 ; CHECK-APPLE: mov r0, #16
230 ; CHECK-APPLE: malloc
231 ; CHECK-APPLE: mov [[REG:r[0-9]+]], #1
232 ; CHECK-APPLE-DAG: mov r6, r0
233 ; CHECK-APPLE-DAG: strb [[REG]], [r0, #8]
234 ; CHECK-APPLE-DAG: str r{{.*}}, [{{.*}}[[SRET]], #4]
262 ; CHECK-APPLE-LABEL: caller3:
263 ; CHECK-APPLE: mov [[ID:r[0-9]+]], r0
264 ; CHECK-APPLE: mov r6, #0
265 ; CHECK-APPLE: bl {{.*}}foo_sret
266 ; CHECK-APPLE: cmp r6, #0
268 ; CHECK-APPLE: ldrbeq [[CODE:r[0-9]+]], [r6, #8]
269 ; CHECK-APPLE: strbeq [[CODE]], [{{.*}}[[ID]]]
270 ; CHECK-APPLE: mov r0, r6
310 ; CHECK-APPLE-LABEL: foo_vararg:
311 ; CHECK-APPLE: mov r0, #16
312 ; CHECK-APPLE: malloc
313 ; CHECK-APPLE: mov [[REG:r[0-9]+]], r0
314 ; CHECK-APPLE: mov [[ID:r[0-9]+]], #1
315 ; CHECK-APPLE-DAG: strb [[ID]], [{{.*}}[[REG]], #8]
316 ; CHECK-APPLE-DAG: mov r6, [[REG]]
343 ; CHECK-APPLE-LABEL: caller4:
344 ; CHECK-APPLE: mov [[ID:r[0-9]+]], r0
345 ; CHECK-APPLE: mov r6, #0
346 ; CHECK-APPLE: bl {{.*}}foo_vararg
347 ; CHECK-APPLE: cmp r6, #0
349 ; CHECK-APPLE: ldrbeq [[CODE:r[0-9]+]], [r6, #8]
350 ; CHECK-APPLE: strbeq [[CODE]], [{{.*}}[[ID]]]
351 ; CHECK-APPLE: mov r0, r6