• Home
  • Raw
  • Download

Lines Matching refs:O0

2 ; RUN: llc < %s -O0 -mtriple=s390x-linux-gnu | FileCheck --check-prefix=CHECK-O0 %s
16 ; CHECK-O0-LABEL: foo:
17 ; CHECK-O0: lghi %r2, 16
18 ; CHECK-O0: brasl %r14, malloc
19 ; CHECK-O0: lgr %r[[REG1:[0-9]+]], %r2
20 ; CHECK-O0: mvi 8(%r2), 1
21 ; CHECK-O0: lgr %r9, %r[[REG1]]
44 ; CHECK-O0-LABEL: caller:
45 ; CHECK-O0: lghi %r9, 0
46 ; CHECK-O0: brasl %r14, foo
47 ; CHECK-O0: cghi %r9, 0
48 ; CHECK-O0: jlh
82 ; CHECK-O0-LABEL: caller2:
83 ; CHECK-O0: lghi %r9, 0
84 ; CHECK-O0: brasl %r14, foo
85 ; CHECK-O0: cghi %r9, 0
86 ; CHECK-O0: jlh
121 ; CHECK-O0-LABEL: foo_if:
122 ; CHECK-O0: chi %r2, 0
124 ; CHECK-O0: stg %r9, [[OFFS:[0-9]+]](%r15)
125 ; CHECK-O0: je
126 ; CHECK-O0: lghi %r2, 16
127 ; CHECK-O0: brasl %r14, malloc
128 ; CHECK-O0: lgr %r[[REG1:[0-9]+]], %r2
129 ; CHECK-O0: mvi 8(%r2), 1
130 ; CHECK-O0: lgr %r9, %r[[REG1]]
131 ; CHECK-O0: br %r14
133 ; CHECK-O0: lg %r9, [[OFFS]](%r15)
134 ; CHECK-O0: br %r14
164 ; CHECK-O0-LABEL: foo_loop:
166 ; CHECK-O0: stg %r9, [[OFFS:[0-9]+]](%r15)
167 ; CHECK-O0: chi %r{{.*}}, 0
168 ; CHECK-O0: je
169 ; CHECK-O0: lghi %r2, 16
170 ; CHECK-O0: brasl %r14, malloc
171 ; CHECK-O0: lgr %r[[REG1:[0-9]+]], %r2
172 ; CHECK-O0: mvi 8(%r2), 1
173 ; CHECK-O0: jnh
175 ; CHECK-O0: lg %r9, [[OFFS:[0-9]+]](%r15)
176 ; CHECK-O0: br %r14
215 ; CHECK-O0-LABEL: foo_sret:
216 ; CHECK-O0: lghi %r{{.*}}, 16
218 ; CHECK-O0: stg %r2, [[OFFS1:[0-9]+]](%r15)
219 ; CHECK-O0: lgr %r2, %r{{.*}}
220 ; CHECK-O0: st %r3, [[OFFS2:[0-9]+]](%r15)
221 ; CHECK-O0: brasl %r14, malloc
222 ; CHECK-O0: lgr {{.*}}, %r2
223 ; CHECK-O0: mvi 8(%r2), 1
224 ; CHECK-O0-DAG: lg %r[[REG1:[0-9]+]], [[OFFS1]](%r15)
225 ; CHECK-O0-DAG: l %r[[REG2:[0-9]+]], [[OFFS2]](%r15)
226 ; CHECK-O0: st %r[[REG2]], 4(%r[[REG1]])
227 ; CHECK-O0: lgr %r9, {{.*}}
228 ; CHECK-O0: br %r14
255 ; CHECK-O0-LABEL: caller3:
256 ; CHECK-O0: lghi %r9, 0
257 ; CHECK-O0: lhi %r3, 1
258 ; CHECK-O0: stg %r2, {{.*}}(%r15)
259 ; CHECK-O0: lgr %r2, {{.*}}
260 ; CHECK-O0: brasl %r14, foo_sret
261 ; CHECK-O0: lgr {{.*}}, %r9
262 ; CHECK-O0: cghi %r9, 0
263 ; CHECK-O0: jlh
265 ; CHECK-O0: lb %r0, 8(%r{{.*}})
266 ; CHECK-O0: stc %r0, 0(%r{{.*}})
268 ; CHECK-O0: lg %r2, {{.*}}(%r15)
269 ; CHECK-O0: brasl %r14, free
315 ; CHECK-O0-LABEL: caller_with_multiple_swifterror_values:
318 ; CHECK-O0: lghi %r9, 0
319 ; CHECK-O0: brasl %r14, foo
320 ; CHECK-O0: jlh
323 ; CHECK-O0: lghi %r9, 0
324 ; CHECK-O0: brasl %r14, foo
325 ; CHECK-O0: jlh