• Home
  • Raw
  • Download

Lines Matching refs:O0

2 ; RUN: llc -verify-machineinstrs -O0 < %s -mtriple=x86_64-apple-darwin | FileCheck --check-prefix=C…
17 ; CHECK-O0-LABEL: foo:
18 ; CHECK-O0: movl $16
19 ; CHECK-O0: malloc
20 ; CHECK-O0: movb $1, 8(%rax)
21 ; CHECK-O0: movq %{{.*}}, %r12
43 ; CHECK-O0-LABEL: caller:
44 ; CHECK-O0: xorl
45 ; CHECK-O0: movl %{{.*}}, %r12d
46 ; CHECK-O0: callq {{.*}}foo
47 ; CHECK-O0: jne
80 ; CHECK-O0-LABEL: caller2:
81 ; CHECK-O0: xorl
82 ; CHECK-O0: movl %{{.*}}, %r12d
83 ; CHECK-O0: callq {{.*}}foo
84 ; CHECK-O0: movq %r12, [[ID:%[a-z]+]]
85 ; CHECK-O0: cmpq $0, [[ID]]
86 ; CHECK-O0: jne
123 ; CHECK-O0-LABEL: foo_if:
124 ; CHECK-O0: cmpl $0
126 ; CHECK-O0: movq %r12, {{.*}}(%rsp)
127 ; CHECK-O0: je
128 ; CHECK-O0: movl $16,
129 ; CHECK-O0: malloc
130 ; CHECK-O0: movq %rax, [[ID:%[a-z]+]]
131 ; CHECK-O0-DAG: movb $1, 8(%rax)
132 ; CHECK-O0-DAG: movq [[ID]], %r12
133 ; CHECK-O0: ret
135 ; CHECK-O0: movq {{.*}}(%rsp), %r12
136 ; CHECK-O0: ret
168 ; CHECK-O0-LABEL: foo_loop:
170 ; CHECK-O0: movq %r12, {{.*}}(%rsp)
171 ; CHECK-O0: cmpl $0
172 ; CHECK-O0: je
173 ; CHECK-O0: movl $16,
174 ; CHECK-O0: malloc
175 ; CHECK-O0: movq %rax, [[ID:%[a-z]+]]
176 ; CHECK-O0: movb $1, 8([[ID]])
177 ; CHECK-O0: jbe
179 ; CHECK-O0: movq {{.*}}(%rsp), %r12
180 ; CHECK-O0: ret
218 ; CHECK-O0-LABEL: foo_sret:
219 ; CHECK-O0: movl $16,
221 ; CHECK-O0: movq %rdi,
222 ; CHECK-O0: movq {{.*}}, %rdi
223 ; CHECK-O0: malloc
224 ; CHECK-O0: movb $1, 8(%rax)
225 ; CHECK-O0: movl %{{.*}}, 4(%{{.*}})
226 ; CHECK-O0: movq %{{.*}}, %r12
228 ; CHECK-O0: movq {{.*}}(%rsp), %rax
229 ; CHECK-O0: ret
255 ; CHECK-O0-LABEL: caller3:
256 ; CHECK-O0: xorl
257 ; CHECK-O0: movl {{.*}}, %r12d
258 ; CHECK-O0: movl $1, %esi
259 ; CHECK-O0: movq {{.*}}, %rdi
260 ; CHECK-O0: callq {{.*}}foo_sret
261 ; CHECK-O0: movq %r12,
262 ; CHECK-O0: cmpq $0
263 ; CHECK-O0: jne
265 ; CHECK-O0: movb 8(%{{.*}}),
266 ; CHECK-O0: movb %{{.*}},
268 ; CHECK-O0: movq {{.*}}(%rsp), %rdi
269 ; CHECK-O0: callq {{.*}}free
314 ; CHECK-O0-LABEL: caller_with_multiple_swifterror_values:
317 ; CHECK-O0: xorl
318 ; CHECK-O0: movl %{{.*}}, %r12d
319 ; CHECK-O0: callq {{.*}}foo
320 ; CHECK-O0: jne
323 ; CHECK-O0: xorl
324 ; CHECK-O0: movl %{{.*}}, %r12d
325 ; CHECK-O0: callq {{.*}}foo
326 ; CHECK-O0: jne