1 ; RUN: llc < %s | FileCheck %s --check-prefix=ASM
2 ; RUN: llc -filetype=obj < %s | llvm-readobj --codeview | FileCheck %s --check-prefix=OBJ
6 ; void usevals(int, ...);
33 ; usevals(a, b, c, d);
34 ; usevals(a, b, c, d);
43 ; usevals(a, b, c, d, e);
44 ; usevals(a, b, c, d, e);
49 source_filename = "t.c"
50 target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
51 target triple = "i386-pc-windows-msvc19.11.25508"
53 ; Function Attrs: nounwind
54 define i32 @csr1() local_unnamed_addr #0 !dbg !8 {
56 %call = tail call i32 @getval() #3, !dbg !14
57 tail call void @llvm.dbg.value(metadata i32 %call, metadata !13, metadata !DIExpression()), !dbg !15
58 tail call void (i32, ...) @usevals(i32 %call) #3, !dbg !16
59 tail call void (i32, ...) @usevals(i32 %call) #3, !dbg !17
60 ret i32 %call, !dbg !18
63 ; ASM-LABEL: _csr1: # @csr1
64 ; ASM: .cv_fpo_proc _csr1
66 ; ASM: .cv_fpo_pushreg %esi
67 ; ASM: .cv_fpo_endprologue
68 ; ASM: #DEBUG_VALUE: csr1:a <- $esi
70 ; ASM: .cv_fpo_endproc
72 ; OBJ-LABEL: SubSectionType: FrameData (0xF5)
73 ; OBJ-NEXT: SubSectionSize:
74 ; OBJ-NEXT: LinkageName: _csr1
75 ; OBJ-NEXT: FrameData {
76 ; OBJ-NEXT: RvaStart: 0x0
77 ; OBJ-NEXT: CodeSize: 0x1E
78 ; OBJ-NEXT: LocalSize: 0x0
79 ; OBJ-NEXT: ParamsSize: 0x0
80 ; OBJ-NEXT: MaxStackSize: 0x0
81 ; OBJ-NEXT: PrologSize: 0x1
82 ; OBJ-NEXT: SavedRegsSize: 0x0
83 ; OBJ-NEXT: Flags [ (0x4)
84 ; OBJ-NEXT: IsFunctionStart (0x4)
86 ; OBJ-NEXT: FrameFunc [
87 ; OBJ-NEXT: $T0 .raSearch =
88 ; OBJ-NEXT: $eip $T0 ^ =
89 ; OBJ-NEXT: $esp $T0 4 + =
92 ; OBJ-NEXT: FrameData {
93 ; OBJ-NEXT: RvaStart: 0x1
94 ; OBJ-NEXT: CodeSize: 0x1D
95 ; OBJ-NEXT: LocalSize: 0x0
96 ; OBJ-NEXT: ParamsSize: 0x0
97 ; OBJ-NEXT: MaxStackSize: 0x0
98 ; OBJ-NEXT: PrologSize: 0x0
99 ; OBJ-NEXT: SavedRegsSize: 0x4
100 ; OBJ-NEXT: Flags [ (0x0)
102 ; OBJ-NEXT: FrameFunc [
103 ; OBJ-NEXT: $T0 .raSearch =
104 ; OBJ-NEXT: $eip $T0 ^ =
105 ; OBJ-NEXT: $esp $T0 4 + =
106 ; OBJ-NEXT: $esi $T0 4 - ^ =
111 declare i32 @getval() local_unnamed_addr #1
113 declare void @usevals(i32, ...) local_unnamed_addr #1
115 ; Function Attrs: nounwind
116 define i32 @csr2() local_unnamed_addr #0 !dbg !19 {
118 %call = tail call i32 @getval() #3, !dbg !23
119 tail call void @llvm.dbg.value(metadata i32 %call, metadata !21, metadata !DIExpression()), !dbg !24
120 %call1 = tail call i32 @getval() #3, !dbg !25
121 tail call void @llvm.dbg.value(metadata i32 %call1, metadata !22, metadata !DIExpression()), !dbg !26
122 tail call void (i32, ...) @usevals(i32 %call, i32 %call1) #3, !dbg !27
123 tail call void (i32, ...) @usevals(i32 %call, i32 %call1) #3, !dbg !28
124 ret i32 %call, !dbg !29
127 ; ASM-LABEL: _csr2: # @csr2
128 ; ASM: .cv_fpo_proc _csr2
130 ; ASM: .cv_fpo_pushreg %edi
132 ; ASM: .cv_fpo_pushreg %esi
133 ; ASM: .cv_fpo_endprologue
134 ; ASM: #DEBUG_VALUE: csr2:a <- $esi
135 ; ASM: #DEBUG_VALUE: csr2:b <- $edi
137 ; ASM: .cv_fpo_endproc
139 ; OBJ-LABEL: SubSectionType: FrameData (0xF5)
140 ; OBJ-NEXT: SubSectionSize:
141 ; OBJ-NEXT: LinkageName: _csr2
142 ; OBJ-NEXT: FrameData {
143 ; OBJ-NEXT: RvaStart: 0x0
144 ; OBJ-NEXT: CodeSize: 0x29
145 ; OBJ-NEXT: LocalSize: 0x0
146 ; OBJ-NEXT: ParamsSize: 0x0
147 ; OBJ-NEXT: MaxStackSize: 0x0
148 ; OBJ-NEXT: PrologSize: 0x2
149 ; OBJ-NEXT: SavedRegsSize: 0x0
150 ; OBJ-NEXT: Flags [ (0x4)
151 ; OBJ-NEXT: IsFunctionStart (0x4)
153 ; OBJ-NEXT: FrameFunc [
154 ; OBJ-NEXT: $T0 .raSearch =
155 ; OBJ-NEXT: $eip $T0 ^ =
156 ; OBJ-NEXT: $esp $T0 4 + =
159 ; OBJ-NEXT: FrameData {
160 ; OBJ-NEXT: RvaStart: 0x1
161 ; OBJ-NEXT: CodeSize: 0x28
162 ; OBJ-NEXT: LocalSize: 0x0
163 ; OBJ-NEXT: ParamsSize: 0x0
164 ; OBJ-NEXT: MaxStackSize: 0x0
165 ; OBJ-NEXT: PrologSize: 0x1
166 ; OBJ-NEXT: SavedRegsSize: 0x4
167 ; OBJ-NEXT: Flags [ (0x0)
169 ; OBJ-NEXT: FrameFunc [
170 ; OBJ-NEXT: $T0 .raSearch =
171 ; OBJ-NEXT: $eip $T0 ^ =
172 ; OBJ-NEXT: $esp $T0 4 + =
173 ; OBJ-NEXT: $edi $T0 4 - ^ =
176 ; OBJ-NEXT: FrameData {
177 ; OBJ-NEXT: RvaStart: 0x2
178 ; OBJ-NEXT: CodeSize: 0x27
179 ; OBJ-NEXT: LocalSize: 0x0
180 ; OBJ-NEXT: ParamsSize: 0x0
181 ; OBJ-NEXT: MaxStackSize: 0x0
182 ; OBJ-NEXT: PrologSize: 0x0
183 ; OBJ-NEXT: SavedRegsSize: 0x8
184 ; OBJ-NEXT: Flags [ (0x0)
186 ; OBJ-NEXT: FrameFunc [
187 ; OBJ-NEXT: $T0 .raSearch =
188 ; OBJ-NEXT: $eip $T0 ^ =
189 ; OBJ-NEXT: $esp $T0 4 + =
190 ; OBJ-NEXT: $edi $T0 4 - ^ =
191 ; OBJ-NEXT: $esi $T0 8 - ^ =
196 ; Function Attrs: nounwind
197 define i32 @csr3() local_unnamed_addr #0 !dbg !30 {
199 %call = tail call i32 @getval() #3, !dbg !35
200 tail call void @llvm.dbg.value(metadata i32 %call, metadata !32, metadata !DIExpression()), !dbg !36
201 %call1 = tail call i32 @getval() #3, !dbg !37
202 tail call void @llvm.dbg.value(metadata i32 %call1, metadata !33, metadata !DIExpression()), !dbg !38
203 %call2 = tail call i32 @getval() #3, !dbg !39
204 tail call void @llvm.dbg.value(metadata i32 %call2, metadata !34, metadata !DIExpression()), !dbg !40
205 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2) #3, !dbg !41
206 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2) #3, !dbg !42
207 ret i32 %call, !dbg !43
210 ; ASM-LABEL: _csr3: # @csr3
211 ; ASM: .cv_fpo_proc _csr3
213 ; ASM: .cv_fpo_pushreg %ebx
215 ; ASM: .cv_fpo_pushreg %edi
217 ; ASM: .cv_fpo_pushreg %esi
218 ; ASM: .cv_fpo_endprologue
219 ; ASM: #DEBUG_VALUE: csr3:a <- $esi
220 ; ASM: #DEBUG_VALUE: csr3:b <- $edi
221 ; ASM: #DEBUG_VALUE: csr3:c <- $ebx
223 ; ASM: .cv_fpo_endproc
225 ; OBJ-LABEL: SubSectionType: FrameData (0xF5)
226 ; OBJ-NEXT: SubSectionSize:
227 ; OBJ-NEXT: LinkageName: _csr3
228 ; OBJ-NEXT: FrameData {
229 ; OBJ-NEXT: RvaStart: 0x0
230 ; OBJ-NEXT: CodeSize: 0x34
231 ; OBJ-NEXT: LocalSize: 0x0
232 ; OBJ-NEXT: ParamsSize: 0x0
233 ; OBJ-NEXT: MaxStackSize: 0x0
234 ; OBJ-NEXT: PrologSize: 0x3
235 ; OBJ-NEXT: SavedRegsSize: 0x0
236 ; OBJ-NEXT: Flags [ (0x4)
237 ; OBJ-NEXT: IsFunctionStart (0x4)
239 ; OBJ-NEXT: FrameFunc [
240 ; OBJ-NEXT: $T0 .raSearch =
241 ; OBJ-NEXT: $eip $T0 ^ =
242 ; OBJ-NEXT: $esp $T0 4 + =
245 ; OBJ-NEXT: FrameData {
246 ; OBJ-NEXT: RvaStart: 0x1
247 ; OBJ-NEXT: CodeSize: 0x33
248 ; OBJ-NEXT: LocalSize: 0x0
249 ; OBJ-NEXT: ParamsSize: 0x0
250 ; OBJ-NEXT: MaxStackSize: 0x0
251 ; OBJ-NEXT: PrologSize: 0x2
252 ; OBJ-NEXT: SavedRegsSize: 0x4
253 ; OBJ-NEXT: Flags [ (0x0)
255 ; OBJ-NEXT: FrameFunc [
256 ; OBJ-NEXT: $T0 .raSearch =
257 ; OBJ-NEXT: $eip $T0 ^ =
258 ; OBJ-NEXT: $esp $T0 4 + =
259 ; OBJ-NEXT: $ebx $T0 4 - ^ =
262 ; OBJ-NEXT: FrameData {
263 ; OBJ-NEXT: RvaStart: 0x2
264 ; OBJ-NEXT: CodeSize: 0x32
265 ; OBJ-NEXT: LocalSize: 0x0
266 ; OBJ-NEXT: ParamsSize: 0x0
267 ; OBJ-NEXT: MaxStackSize: 0x0
268 ; OBJ-NEXT: PrologSize: 0x1
269 ; OBJ-NEXT: SavedRegsSize: 0x8
270 ; OBJ-NEXT: Flags [ (0x0)
272 ; OBJ-NEXT: FrameFunc [
273 ; OBJ-NEXT: $T0 .raSearch =
274 ; OBJ-NEXT: $eip $T0 ^ =
275 ; OBJ-NEXT: $esp $T0 4 + =
276 ; OBJ-NEXT: $ebx $T0 4 - ^ =
277 ; OBJ-NEXT: $edi $T0 8 - ^ =
280 ; OBJ-NEXT: FrameData {
281 ; OBJ-NEXT: RvaStart: 0x3
282 ; OBJ-NEXT: CodeSize: 0x31
283 ; OBJ-NEXT: LocalSize: 0x0
284 ; OBJ-NEXT: ParamsSize: 0x0
285 ; OBJ-NEXT: MaxStackSize: 0x0
286 ; OBJ-NEXT: PrologSize: 0x0
287 ; OBJ-NEXT: SavedRegsSize: 0xC
288 ; OBJ-NEXT: Flags [ (0x0)
290 ; OBJ-NEXT: FrameFunc [
291 ; OBJ-NEXT: $T0 .raSearch =
292 ; OBJ-NEXT: $eip $T0 ^ =
293 ; OBJ-NEXT: $esp $T0 4 + =
294 ; OBJ-NEXT: $ebx $T0 4 - ^ =
295 ; OBJ-NEXT: $edi $T0 8 - ^ =
296 ; OBJ-NEXT: $esi $T0 12 - ^ =
301 ; Function Attrs: nounwind
302 define i32 @csr4() local_unnamed_addr #0 !dbg !44 {
304 %call = tail call i32 @getval() #3, !dbg !50
305 tail call void @llvm.dbg.value(metadata i32 %call, metadata !46, metadata !DIExpression()), !dbg !51
306 %call1 = tail call i32 @getval() #3, !dbg !52
307 tail call void @llvm.dbg.value(metadata i32 %call1, metadata !47, metadata !DIExpression()), !dbg !53
308 %call2 = tail call i32 @getval() #3, !dbg !54
309 tail call void @llvm.dbg.value(metadata i32 %call2, metadata !48, metadata !DIExpression()), !dbg !55
310 %call3 = tail call i32 @getval() #3, !dbg !56
311 tail call void @llvm.dbg.value(metadata i32 %call3, metadata !49, metadata !DIExpression()), !dbg !57
312 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2, i32 %call3) #3, !dbg !58
313 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2, i32 %call3) #3, !dbg !59
314 ret i32 %call, !dbg !60
317 ; ASM-LABEL: _csr4: # @csr4
318 ; ASM: .cv_fpo_proc _csr4
320 ; ASM: .cv_fpo_pushreg %ebp
322 ; ASM: .cv_fpo_pushreg %ebx
324 ; ASM: .cv_fpo_pushreg %edi
326 ; ASM: .cv_fpo_pushreg %esi
327 ; ASM: .cv_fpo_endprologue
328 ; ASM: #DEBUG_VALUE: csr4:a <- $esi
329 ; ASM: #DEBUG_VALUE: csr4:b <- $edi
330 ; ASM: #DEBUG_VALUE: csr4:c <- $ebx
331 ; ASM: #DEBUG_VALUE: csr4:d <- $ebp
333 ; ASM: .cv_fpo_endproc
335 ; OBJ-LABEL: SubSectionType: FrameData (0xF5)
336 ; OBJ-NEXT: SubSectionSize:
337 ; OBJ-NEXT: LinkageName: _csr4
338 ; OBJ-NEXT: FrameData {
339 ; OBJ-NEXT: RvaStart: 0x0
340 ; OBJ-NEXT: CodeSize: 0x3F
341 ; OBJ-NEXT: LocalSize: 0x0
342 ; OBJ-NEXT: ParamsSize: 0x0
343 ; OBJ-NEXT: MaxStackSize: 0x0
344 ; OBJ-NEXT: PrologSize: 0x4
345 ; OBJ-NEXT: SavedRegsSize: 0x0
346 ; OBJ-NEXT: Flags [ (0x4)
347 ; OBJ-NEXT: IsFunctionStart (0x4)
349 ; OBJ-NEXT: FrameFunc [
350 ; OBJ-NEXT: $T0 .raSearch =
351 ; OBJ-NEXT: $eip $T0 ^ =
352 ; OBJ-NEXT: $esp $T0 4 + =
355 ; OBJ-NEXT: FrameData {
356 ; OBJ-NEXT: RvaStart: 0x1
357 ; OBJ-NEXT: CodeSize: 0x3E
358 ; OBJ-NEXT: LocalSize: 0x0
359 ; OBJ-NEXT: ParamsSize: 0x0
360 ; OBJ-NEXT: MaxStackSize: 0x0
361 ; OBJ-NEXT: PrologSize: 0x3
362 ; OBJ-NEXT: SavedRegsSize: 0x4
363 ; OBJ-NEXT: Flags [ (0x0)
365 ; OBJ-NEXT: FrameFunc [
366 ; OBJ-NEXT: $T0 .raSearch =
367 ; OBJ-NEXT: $eip $T0 ^ =
368 ; OBJ-NEXT: $esp $T0 4 + =
369 ; OBJ-NEXT: $ebp $T0 4 - ^ =
372 ; OBJ-NEXT: FrameData {
373 ; OBJ-NEXT: RvaStart: 0x2
374 ; OBJ-NEXT: CodeSize: 0x3D
375 ; OBJ-NEXT: LocalSize: 0x0
376 ; OBJ-NEXT: ParamsSize: 0x0
377 ; OBJ-NEXT: MaxStackSize: 0x0
378 ; OBJ-NEXT: PrologSize: 0x2
379 ; OBJ-NEXT: SavedRegsSize: 0x8
380 ; OBJ-NEXT: Flags [ (0x0)
382 ; OBJ-NEXT: FrameFunc [
383 ; OBJ-NEXT: $T0 .raSearch =
384 ; OBJ-NEXT: $eip $T0 ^ =
385 ; OBJ-NEXT: $esp $T0 4 + =
386 ; OBJ-NEXT: $ebp $T0 4 - ^ =
387 ; OBJ-NEXT: $ebx $T0 8 - ^ =
390 ; OBJ-NEXT: FrameData {
391 ; OBJ-NEXT: RvaStart: 0x3
392 ; OBJ-NEXT: CodeSize: 0x3C
393 ; OBJ-NEXT: LocalSize: 0x0
394 ; OBJ-NEXT: ParamsSize: 0x0
395 ; OBJ-NEXT: MaxStackSize: 0x0
396 ; OBJ-NEXT: PrologSize: 0x1
397 ; OBJ-NEXT: SavedRegsSize: 0xC
398 ; OBJ-NEXT: Flags [ (0x0)
400 ; OBJ-NEXT: FrameFunc [
401 ; OBJ-NEXT: $T0 .raSearch =
402 ; OBJ-NEXT: $eip $T0 ^ =
403 ; OBJ-NEXT: $esp $T0 4 + =
404 ; OBJ-NEXT: $ebp $T0 4 - ^ =
405 ; OBJ-NEXT: $ebx $T0 8 - ^ =
406 ; OBJ-NEXT: $edi $T0 12 - ^ =
409 ; OBJ-NEXT: FrameData {
410 ; OBJ-NEXT: RvaStart: 0x4
411 ; OBJ-NEXT: CodeSize: 0x3B
412 ; OBJ-NEXT: LocalSize: 0x0
413 ; OBJ-NEXT: ParamsSize: 0x0
414 ; OBJ-NEXT: MaxStackSize: 0x0
415 ; OBJ-NEXT: PrologSize: 0x0
416 ; OBJ-NEXT: SavedRegsSize: 0x10
417 ; OBJ-NEXT: Flags [ (0x0)
419 ; OBJ-NEXT: FrameFunc [
420 ; OBJ-NEXT: $T0 .raSearch =
421 ; OBJ-NEXT: $eip $T0 ^ =
422 ; OBJ-NEXT: $esp $T0 4 + =
423 ; OBJ-NEXT: $ebp $T0 4 - ^ =
424 ; OBJ-NEXT: $ebx $T0 8 - ^ =
425 ; OBJ-NEXT: $edi $T0 12 - ^ =
426 ; OBJ-NEXT: $esi $T0 16 - ^ =
431 ; Function Attrs: nounwind
432 define i32 @spill() local_unnamed_addr #0 !dbg !61 {
434 %call = tail call i32 @getval() #3, !dbg !68
435 tail call void @llvm.dbg.value(metadata i32 %call, metadata !63, metadata !DIExpression()), !dbg !69
436 %call1 = tail call i32 @getval() #3, !dbg !70
437 tail call void @llvm.dbg.value(metadata i32 %call1, metadata !64, metadata !DIExpression()), !dbg !71
438 %call2 = tail call i32 @getval() #3, !dbg !72
439 tail call void @llvm.dbg.value(metadata i32 %call2, metadata !65, metadata !DIExpression()), !dbg !73
440 %call3 = tail call i32 @getval() #3, !dbg !74
441 tail call void @llvm.dbg.value(metadata i32 %call3, metadata !66, metadata !DIExpression()), !dbg !75
442 %call4 = tail call i32 @getval() #3, !dbg !76
443 tail call void @llvm.dbg.value(metadata i32 %call4, metadata !67, metadata !DIExpression()), !dbg !77
444 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2, i32 %call3, i32 %call4) #3, !dbg !78
445 tail call void (i32, ...) @usevals(i32 %call, i32 %call1, i32 %call2, i32 %call3, i32 %call4) #3, !dbg !79
446 ret i32 %call, !dbg !80
449 ; ASM-LABEL: _spill: # @spill
450 ; ASM: .cv_fpo_proc _spill
452 ; ASM: .cv_fpo_pushreg %ebp
454 ; ASM: .cv_fpo_pushreg %ebx
456 ; ASM: .cv_fpo_pushreg %edi
458 ; ASM: .cv_fpo_pushreg %esi
460 ; ASM: .cv_fpo_stackalloc 8
461 ; ASM: .cv_fpo_endprologue
463 ; ASM: .cv_fpo_endproc
465 ; OBJ-LABEL: SubSectionType: FrameData (0xF5)
466 ; OBJ-NEXT: SubSectionSize:
467 ; OBJ-NEXT: LinkageName: _spill
468 ; OBJ-NEXT: FrameData {
469 ; OBJ-NEXT: RvaStart: 0x0
470 ; OBJ-NEXT: CodeSize: 0x5A
471 ; OBJ-NEXT: LocalSize: 0x0
472 ; OBJ-NEXT: ParamsSize: 0x0
473 ; OBJ-NEXT: MaxStackSize: 0x0
474 ; OBJ-NEXT: PrologSize: 0x7
475 ; OBJ-NEXT: SavedRegsSize: 0x0
476 ; OBJ-NEXT: Flags [ (0x4)
477 ; OBJ-NEXT: IsFunctionStart (0x4)
479 ; OBJ-NEXT: FrameFunc [
480 ; OBJ-NEXT: $T0 .raSearch =
481 ; OBJ-NEXT: $eip $T0 ^ =
482 ; OBJ-NEXT: $esp $T0 4 + =
485 ; OBJ-NEXT: FrameData {
486 ; OBJ-NEXT: RvaStart: 0x1
487 ; OBJ-NEXT: CodeSize: 0x59
488 ; OBJ-NEXT: LocalSize: 0x0
489 ; OBJ-NEXT: ParamsSize: 0x0
490 ; OBJ-NEXT: MaxStackSize: 0x0
491 ; OBJ-NEXT: PrologSize: 0x6
492 ; OBJ-NEXT: SavedRegsSize: 0x4
493 ; OBJ-NEXT: Flags [ (0x0)
495 ; OBJ-NEXT: FrameFunc [
496 ; OBJ-NEXT: $T0 .raSearch =
497 ; OBJ-NEXT: $eip $T0 ^ =
498 ; OBJ-NEXT: $esp $T0 4 + =
499 ; OBJ-NEXT: $ebp $T0 4 - ^ =
502 ; OBJ-NEXT: FrameData {
503 ; OBJ-NEXT: RvaStart: 0x2
504 ; OBJ-NEXT: CodeSize: 0x58
505 ; OBJ-NEXT: LocalSize: 0x0
506 ; OBJ-NEXT: ParamsSize: 0x0
507 ; OBJ-NEXT: MaxStackSize: 0x0
508 ; OBJ-NEXT: PrologSize: 0x5
509 ; OBJ-NEXT: SavedRegsSize: 0x8
510 ; OBJ-NEXT: Flags [ (0x0)
512 ; OBJ-NEXT: FrameFunc [
513 ; OBJ-NEXT: $T0 .raSearch =
514 ; OBJ-NEXT: $eip $T0 ^ =
515 ; OBJ-NEXT: $esp $T0 4 + =
516 ; OBJ-NEXT: $ebp $T0 4 - ^ =
517 ; OBJ-NEXT: $ebx $T0 8 - ^ =
520 ; OBJ-NEXT: FrameData {
521 ; OBJ-NEXT: RvaStart: 0x3
522 ; OBJ-NEXT: CodeSize: 0x57
523 ; OBJ-NEXT: LocalSize: 0x0
524 ; OBJ-NEXT: ParamsSize: 0x0
525 ; OBJ-NEXT: MaxStackSize: 0x0
526 ; OBJ-NEXT: PrologSize: 0x4
527 ; OBJ-NEXT: SavedRegsSize: 0xC
528 ; OBJ-NEXT: Flags [ (0x0)
530 ; OBJ-NEXT: FrameFunc [
531 ; OBJ-NEXT: $T0 .raSearch =
532 ; OBJ-NEXT: $eip $T0 ^ =
533 ; OBJ-NEXT: $esp $T0 4 + =
534 ; OBJ-NEXT: $ebp $T0 4 - ^ =
535 ; OBJ-NEXT: $ebx $T0 8 - ^ =
536 ; OBJ-NEXT: $edi $T0 12 - ^ =
539 ; OBJ-NEXT: FrameData {
540 ; OBJ-NEXT: RvaStart: 0x4
541 ; OBJ-NEXT: CodeSize: 0x56
542 ; OBJ-NEXT: LocalSize: 0x0
543 ; OBJ-NEXT: ParamsSize: 0x0
544 ; OBJ-NEXT: MaxStackSize: 0x0
545 ; OBJ-NEXT: PrologSize: 0x3
546 ; OBJ-NEXT: SavedRegsSize: 0x10
547 ; OBJ-NEXT: Flags [ (0x0)
549 ; OBJ-NEXT: FrameFunc [
550 ; OBJ-NEXT: $T0 .raSearch =
551 ; OBJ-NEXT: $eip $T0 ^ =
552 ; OBJ-NEXT: $esp $T0 4 + =
553 ; OBJ-NEXT: $ebp $T0 4 - ^ =
554 ; OBJ-NEXT: $ebx $T0 8 - ^ =
555 ; OBJ-NEXT: $edi $T0 12 - ^ =
556 ; OBJ-NEXT: $esi $T0 16 - ^ =
559 ; OBJ-NEXT: FrameData {
560 ; OBJ-NEXT: RvaStart: 0x7
561 ; OBJ-NEXT: CodeSize: 0x53
562 ; OBJ-NEXT: LocalSize: 0x8
563 ; OBJ-NEXT: ParamsSize: 0x0
564 ; OBJ-NEXT: MaxStackSize: 0x0
565 ; OBJ-NEXT: PrologSize: 0x0
566 ; OBJ-NEXT: SavedRegsSize: 0x10
567 ; OBJ-NEXT: Flags [ (0x0)
569 ; OBJ-NEXT: FrameFunc [
570 ; OBJ-NEXT: $T0 .raSearch =
571 ; OBJ-NEXT: $eip $T0 ^ =
572 ; OBJ-NEXT: $esp $T0 4 + =
573 ; OBJ-NEXT: $ebp $T0 4 - ^ =
574 ; OBJ-NEXT: $ebx $T0 8 - ^ =
575 ; OBJ-NEXT: $edi $T0 12 - ^ =
576 ; OBJ-NEXT: $esi $T0 16 - ^ =
581 ; Function Attrs: nounwind readnone speculatable
582 declare void @llvm.dbg.value(metadata, metadata, metadata) #2
584 attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
585 attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
586 attributes #2 = { nounwind readnone speculatable }
587 attributes #3 = { nounwind }
590 !llvm.module.flags = !{!3, !4, !5, !6}
593 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 6.0.0 ", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
594 !1 = !DIFile(filename: "t.c", directory: "C:\5Csrc\5Cllvm-project\5Cbuild", checksumkind: CSK_MD5, checksum: "0b1c85f8a0bfb41380df1fcaeadde306")
596 !3 = !{i32 1, !"NumRegisterParameters", i32 0}
597 !4 = !{i32 2, !"CodeView", i32 1}
598 !5 = !{i32 2, !"Debug Info Version", i32 3}
599 !6 = !{i32 1, !"wchar_size", i32 2}
600 !7 = !{!"clang version 6.0.0 "}
601 !8 = distinct !DISubprogram(name: "csr1", scope: !1, file: !1, line: 3, type: !9, isLocal: false, isDefinition: true, scopeLine: 3, isOptimized: true, unit: !0, retainedNodes: !12)
602 !9 = !DISubroutineType(types: !10)
604 !11 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
606 !13 = !DILocalVariable(name: "a", scope: !8, file: !1, line: 4, type: !11)
607 !14 = !DILocation(line: 4, column: 11, scope: !8)
608 !15 = !DILocation(line: 4, column: 7, scope: !8)
609 !16 = !DILocation(line: 5, column: 3, scope: !8)
610 !17 = !DILocation(line: 6, column: 3, scope: !8)
611 !18 = !DILocation(line: 7, column: 3, scope: !8)
612 !19 = distinct !DISubprogram(name: "csr2", scope: !1, file: !1, line: 9, type: !9, isLocal: false, isDefinition: true, scopeLine: 9, isOptimized: true, unit: !0, retainedNodes: !20)
614 !21 = !DILocalVariable(name: "a", scope: !19, file: !1, line: 10, type: !11)
615 !22 = !DILocalVariable(name: "b", scope: !19, file: !1, line: 11, type: !11)
616 !23 = !DILocation(line: 10, column: 11, scope: !19)
617 !24 = !DILocation(line: 10, column: 7, scope: !19)
618 !25 = !DILocation(line: 11, column: 11, scope: !19)
619 !26 = !DILocation(line: 11, column: 7, scope: !19)
620 !27 = !DILocation(line: 12, column: 3, scope: !19)
621 !28 = !DILocation(line: 13, column: 3, scope: !19)
622 !29 = !DILocation(line: 14, column: 3, scope: !19)
623 !30 = distinct !DISubprogram(name: "csr3", scope: !1, file: !1, line: 16, type: !9, isLocal: false, isDefinition: true, scopeLine: 16, isOptimized: true, unit: !0, retainedNodes: !31)
624 !31 = !{!32, !33, !34}
625 !32 = !DILocalVariable(name: "a", scope: !30, file: !1, line: 17, type: !11)
626 !33 = !DILocalVariable(name: "b", scope: !30, file: !1, line: 18, type: !11)
627 !34 = !DILocalVariable(name: "c", scope: !30, file: !1, line: 19, type: !11)
628 !35 = !DILocation(line: 17, column: 11, scope: !30)
629 !36 = !DILocation(line: 17, column: 7, scope: !30)
630 !37 = !DILocation(line: 18, column: 11, scope: !30)
631 !38 = !DILocation(line: 18, column: 7, scope: !30)
632 !39 = !DILocation(line: 19, column: 11, scope: !30)
633 !40 = !DILocation(line: 19, column: 7, scope: !30)
634 !41 = !DILocation(line: 20, column: 3, scope: !30)
635 !42 = !DILocation(line: 21, column: 3, scope: !30)
636 !43 = !DILocation(line: 22, column: 3, scope: !30)
637 !44 = distinct !DISubprogram(name: "csr4", scope: !1, file: !1, line: 24, type: !9, isLocal: false, isDefinition: true, scopeLine: 24, isOptimized: true, unit: !0, retainedNodes: !45)
638 !45 = !{!46, !47, !48, !49}
639 !46 = !DILocalVariable(name: "a", scope: !44, file: !1, line: 25, type: !11)
640 !47 = !DILocalVariable(name: "b", scope: !44, file: !1, line: 26, type: !11)
641 !48 = !DILocalVariable(name: "c", scope: !44, file: !1, line: 27, type: !11)
642 !49 = !DILocalVariable(name: "d", scope: !44, file: !1, line: 28, type: !11)
643 !50 = !DILocation(line: 25, column: 11, scope: !44)
644 !51 = !DILocation(line: 25, column: 7, scope: !44)
645 !52 = !DILocation(line: 26, column: 11, scope: !44)
646 !53 = !DILocation(line: 26, column: 7, scope: !44)
647 !54 = !DILocation(line: 27, column: 11, scope: !44)
648 !55 = !DILocation(line: 27, column: 7, scope: !44)
649 !56 = !DILocation(line: 28, column: 11, scope: !44)
650 !57 = !DILocation(line: 28, column: 7, scope: !44)
651 !58 = !DILocation(line: 29, column: 3, scope: !44)
652 !59 = !DILocation(line: 30, column: 3, scope: !44)
653 !60 = !DILocation(line: 31, column: 3, scope: !44)
654 !61 = distinct !DISubprogram(name: "spill", scope: !1, file: !1, line: 33, type: !9, isLocal: false, isDefinition: true, scopeLine: 33, isOptimized: true, unit: !0, retainedNodes: !62)
655 !62 = !{!63, !64, !65, !66, !67}
656 !63 = !DILocalVariable(name: "a", scope: !61, file: !1, line: 34, type: !11)
657 !64 = !DILocalVariable(name: "b", scope: !61, file: !1, line: 35, type: !11)
658 !65 = !DILocalVariable(name: "c", scope: !61, file: !1, line: 36, type: !11)
659 !66 = !DILocalVariable(name: "d", scope: !61, file: !1, line: 37, type: !11)
660 !67 = !DILocalVariable(name: "e", scope: !61, file: !1, line: 38, type: !11)
661 !68 = !DILocation(line: 34, column: 11, scope: !61)
662 !69 = !DILocation(line: 34, column: 7, scope: !61)
663 !70 = !DILocation(line: 35, column: 11, scope: !61)
664 !71 = !DILocation(line: 35, column: 7, scope: !61)
665 !72 = !DILocation(line: 36, column: 11, scope: !61)
666 !73 = !DILocation(line: 36, column: 7, scope: !61)
667 !74 = !DILocation(line: 37, column: 11, scope: !61)
668 !75 = !DILocation(line: 37, column: 7, scope: !61)
669 !76 = !DILocation(line: 38, column: 11, scope: !61)
670 !77 = !DILocation(line: 38, column: 7, scope: !61)
671 !78 = !DILocation(line: 39, column: 3, scope: !61)
672 !79 = !DILocation(line: 40, column: 3, scope: !61)
673 !80 = !DILocation(line: 41, column: 3, scope: !61)