xref: /aosp_15_r20/external/llvm/test/DebugInfo/MIR/X86/live-debug-values-3preds.mir (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# Test the extension of debug ranges from 3 predecessors.
4*9880d681SAndroid Build Coastguard Worker# Generated from the source file LiveDebugValues-3preds.c:
5*9880d681SAndroid Build Coastguard Worker# #include <stdio.h>
6*9880d681SAndroid Build Coastguard Worker# int add(int x, int y, int z, int a) {
7*9880d681SAndroid Build Coastguard Worker#  int i;
8*9880d681SAndroid Build Coastguard Worker#  for (i = 0; i < x * y; i++) {
9*9880d681SAndroid Build Coastguard Worker#    if (i < x) {
10*9880d681SAndroid Build Coastguard Worker#      a = a * x;
11*9880d681SAndroid Build Coastguard Worker#      break;
12*9880d681SAndroid Build Coastguard Worker#    }
13*9880d681SAndroid Build Coastguard Worker#    if (i < y) {
14*9880d681SAndroid Build Coastguard Worker#      a = a * y;
15*9880d681SAndroid Build Coastguard Worker#      break;
16*9880d681SAndroid Build Coastguard Worker#    }
17*9880d681SAndroid Build Coastguard Worker#    if (i < z) {
18*9880d681SAndroid Build Coastguard Worker#      a = a * z;
19*9880d681SAndroid Build Coastguard Worker#      break;
20*9880d681SAndroid Build Coastguard Worker#    }
21*9880d681SAndroid Build Coastguard Worker#  }
22*9880d681SAndroid Build Coastguard Worker#  return a;
23*9880d681SAndroid Build Coastguard Worker# }
24*9880d681SAndroid Build Coastguard Worker# with clang -g -O1 -c -emit-llvm LiveDebugValues-3preds.c -S -o live-debug-values-3preds.ll
25*9880d681SAndroid Build Coastguard Worker# then llc -stop-after stackmap-liveness live-debug-values-3preds.ll -o /dev/null > live-debug-values-3preds.mir
26*9880d681SAndroid Build Coastguard Worker
27*9880d681SAndroid Build Coastguard Worker# DBG_VALUE for variables "x", "y" and "z" are extended into BB#9 from its
28*9880d681SAndroid Build Coastguard Worker# predecessors BB#0, BB#2 and BB#8.
29*9880d681SAndroid Build Coastguard Worker# CHECK:      bb.9.for.end:
30*9880d681SAndroid Build Coastguard Worker# CHECK-DAG:  DBG_VALUE debug-use %edi, debug-use _, !11, !16, debug-location !17
31*9880d681SAndroid Build Coastguard Worker# CHECK-DAG:  DBG_VALUE debug-use %edx, debug-use _, !13, !16, debug-location !20
32*9880d681SAndroid Build Coastguard Worker# CHECK-DAG:  DBG_VALUE debug-use %esi, debug-use _, !12, !16, debug-location !18
33*9880d681SAndroid Build Coastguard Worker# CHECK:      RET
34*9880d681SAndroid Build Coastguard Worker
35*9880d681SAndroid Build Coastguard Worker--- |
36*9880d681SAndroid Build Coastguard Worker  ; ModuleID = 'live-debug-values-3preds.ll'
37*9880d681SAndroid Build Coastguard Worker  target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
38*9880d681SAndroid Build Coastguard Worker  target triple = "x86_64-unknown-linux-gnu"
39*9880d681SAndroid Build Coastguard Worker
40*9880d681SAndroid Build Coastguard Worker  ; Function Attrs: norecurse nounwind readnone uwtable
41*9880d681SAndroid Build Coastguard Worker  define i32 @add(i32 %x, i32 %y, i32 %z, i32 %a) #0 !dbg !4 {
42*9880d681SAndroid Build Coastguard Worker  entry:
43*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %x, i64 0, metadata !9, metadata !17), !dbg !18
44*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %y, i64 0, metadata !10, metadata !17), !dbg !19
45*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %z, i64 0, metadata !11, metadata !17), !dbg !21
46*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %a, i64 0, metadata !12, metadata !17), !dbg !23
47*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !13, metadata !17), !dbg !25
48*9880d681SAndroid Build Coastguard Worker    %mul = mul nsw i32 %y, %x, !dbg !26
49*9880d681SAndroid Build Coastguard Worker    %cmp.24 = icmp sgt i32 %mul, 0, !dbg !30
50*9880d681SAndroid Build Coastguard Worker    br i1 %cmp.24, label %for.body.preheader, label %for.end, !dbg !31
51*9880d681SAndroid Build Coastguard Worker
52*9880d681SAndroid Build Coastguard Worker  for.body.preheader:                               ; preds = %entry
53*9880d681SAndroid Build Coastguard Worker    br label %for.body, !dbg !32
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Worker  for.cond:                                         ; preds = %if.end.6
56*9880d681SAndroid Build Coastguard Worker    %cmp = icmp slt i32 %inc, %mul, !dbg !30
57*9880d681SAndroid Build Coastguard Worker    br i1 %cmp, label %for.body, label %for.end, !dbg !31
58*9880d681SAndroid Build Coastguard Worker
59*9880d681SAndroid Build Coastguard Worker  for.body:                                         ; preds = %for.cond, %for.body.preheader
60*9880d681SAndroid Build Coastguard Worker    %i.025 = phi i32 [ %inc, %for.cond ], [ 0, %for.body.preheader ]
61*9880d681SAndroid Build Coastguard Worker    %0 = icmp sgt i32 %x, 0
62*9880d681SAndroid Build Coastguard Worker    br i1 %0, label %if.then, label %if.end, !dbg !35
63*9880d681SAndroid Build Coastguard Worker
64*9880d681SAndroid Build Coastguard Worker  if.then:                                          ; preds = %for.body
65*9880d681SAndroid Build Coastguard Worker    %mul2 = mul nsw i32 %a, %x, !dbg !36
66*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %mul2, i64 0, metadata !12, metadata !17), !dbg !23
67*9880d681SAndroid Build Coastguard Worker    br label %for.end, !dbg !38
68*9880d681SAndroid Build Coastguard Worker
69*9880d681SAndroid Build Coastguard Worker  if.end:                                           ; preds = %for.body
70*9880d681SAndroid Build Coastguard Worker    %1 = icmp sgt i32 %y, 0
71*9880d681SAndroid Build Coastguard Worker    br i1 %1, label %if.then.4, label %if.end.6, !dbg !39
72*9880d681SAndroid Build Coastguard Worker
73*9880d681SAndroid Build Coastguard Worker  if.then.4:                                        ; preds = %if.end
74*9880d681SAndroid Build Coastguard Worker    %mul5 = mul nsw i32 %a, %y, !dbg !40
75*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %mul5, i64 0, metadata !12, metadata !17), !dbg !23
76*9880d681SAndroid Build Coastguard Worker    br label %for.end, !dbg !43
77*9880d681SAndroid Build Coastguard Worker
78*9880d681SAndroid Build Coastguard Worker  if.end.6:                                         ; preds = %if.end
79*9880d681SAndroid Build Coastguard Worker    %2 = icmp sgt i32 %z, 0
80*9880d681SAndroid Build Coastguard Worker    %inc = add nuw nsw i32 %i.025, 1, !dbg !44
81*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %inc, i64 0, metadata !13, metadata !17), !dbg !25
82*9880d681SAndroid Build Coastguard Worker    br i1 %2, label %if.then.8, label %for.cond, !dbg !45
83*9880d681SAndroid Build Coastguard Worker
84*9880d681SAndroid Build Coastguard Worker  if.then.8:                                        ; preds = %if.end.6
85*9880d681SAndroid Build Coastguard Worker    %mul9 = mul nsw i32 %a, %z, !dbg !46
86*9880d681SAndroid Build Coastguard Worker    tail call void @llvm.dbg.value(metadata i32 %mul9, i64 0, metadata !12, metadata !17), !dbg !23
87*9880d681SAndroid Build Coastguard Worker    br label %for.end, !dbg !49
88*9880d681SAndroid Build Coastguard Worker
89*9880d681SAndroid Build Coastguard Worker  for.end:                                          ; preds = %for.cond, %if.then.8, %if.then.4, %if.then, %entry
90*9880d681SAndroid Build Coastguard Worker    %a.addr.0 = phi i32 [ %mul2, %if.then ], [ %mul5, %if.then.4 ], [ %mul9, %if.then.8 ], [ %a, %entry ], [ %a, %for.cond ]
91*9880d681SAndroid Build Coastguard Worker    ret i32 %a.addr.0, !dbg !50
92*9880d681SAndroid Build Coastguard Worker  }
93*9880d681SAndroid Build Coastguard Worker
94*9880d681SAndroid Build Coastguard Worker  ; Function Attrs: nounwind readnone
95*9880d681SAndroid Build Coastguard Worker  declare void @llvm.dbg.value(metadata, i64, metadata, metadata) #1
96*9880d681SAndroid Build Coastguard Worker
97*9880d681SAndroid Build Coastguard Worker  attributes #0 = { norecurse nounwind readnone uwtable }
98*9880d681SAndroid Build Coastguard Worker  attributes #1 = { nounwind readnone }
99*9880d681SAndroid Build Coastguard Worker
100*9880d681SAndroid Build Coastguard Worker  !llvm.dbg.cu = !{!0}
101*9880d681SAndroid Build Coastguard Worker  !llvm.module.flags = !{!14, !15}
102*9880d681SAndroid Build Coastguard Worker  !llvm.ident = !{!16}
103*9880d681SAndroid Build Coastguard Worker
104*9880d681SAndroid Build Coastguard Worker  !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 (trunk 253049) ", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
105*9880d681SAndroid Build Coastguard Worker  !1 = !DIFile(filename: "LiveDebugValues-3preds.c", directory: "/home/vt/julia/test/tvvikram")
106*9880d681SAndroid Build Coastguard Worker  !2 = !{}
107*9880d681SAndroid Build Coastguard Worker  !4 = distinct !DISubprogram(name: "add", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: true, unit: !0, variables: !8)
108*9880d681SAndroid Build Coastguard Worker  !5 = !DISubroutineType(types: !6)
109*9880d681SAndroid Build Coastguard Worker  !6 = !{!7, !7, !7, !7, !7}
110*9880d681SAndroid Build Coastguard Worker  !7 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
111*9880d681SAndroid Build Coastguard Worker  !8 = !{!9, !10, !11, !12, !13}
112*9880d681SAndroid Build Coastguard Worker  !9 = !DILocalVariable(name: "x", arg: 1, scope: !4, file: !1, line: 1, type: !7)
113*9880d681SAndroid Build Coastguard Worker  !10 = !DILocalVariable(name: "y", arg: 2, scope: !4, file: !1, line: 1, type: !7)
114*9880d681SAndroid Build Coastguard Worker  !11 = !DILocalVariable(name: "z", arg: 3, scope: !4, file: !1, line: 1, type: !7)
115*9880d681SAndroid Build Coastguard Worker  !12 = !DILocalVariable(name: "a", arg: 4, scope: !4, file: !1, line: 1, type: !7)
116*9880d681SAndroid Build Coastguard Worker  !13 = !DILocalVariable(name: "i", scope: !4, file: !1, line: 2, type: !7)
117*9880d681SAndroid Build Coastguard Worker  !14 = !{i32 2, !"Dwarf Version", i32 4}
118*9880d681SAndroid Build Coastguard Worker  !15 = !{i32 2, !"Debug Info Version", i32 3}
119*9880d681SAndroid Build Coastguard Worker  !16 = !{!"clang version 3.8.0 (trunk 253049) "}
120*9880d681SAndroid Build Coastguard Worker  !17 = !DIExpression()
121*9880d681SAndroid Build Coastguard Worker  !18 = !DILocation(line: 1, column: 13, scope: !4)
122*9880d681SAndroid Build Coastguard Worker  !19 = !DILocation(line: 1, column: 20, scope: !20)
123*9880d681SAndroid Build Coastguard Worker  !20 = !DILexicalBlockFile(scope: !4, file: !1, discriminator: 1)
124*9880d681SAndroid Build Coastguard Worker  !21 = !DILocation(line: 1, column: 27, scope: !22)
125*9880d681SAndroid Build Coastguard Worker  !22 = !DILexicalBlockFile(scope: !4, file: !1, discriminator: 2)
126*9880d681SAndroid Build Coastguard Worker  !23 = !DILocation(line: 1, column: 34, scope: !24)
127*9880d681SAndroid Build Coastguard Worker  !24 = !DILexicalBlockFile(scope: !4, file: !1, discriminator: 3)
128*9880d681SAndroid Build Coastguard Worker  !25 = !DILocation(line: 2, column: 7, scope: !20)
129*9880d681SAndroid Build Coastguard Worker  !26 = !DILocation(line: 3, column: 21, scope: !27)
130*9880d681SAndroid Build Coastguard Worker  !27 = !DILexicalBlockFile(scope: !28, file: !1, discriminator: 1)
131*9880d681SAndroid Build Coastguard Worker  !28 = distinct !DILexicalBlock(scope: !29, file: !1, line: 3, column: 3)
132*9880d681SAndroid Build Coastguard Worker  !29 = distinct !DILexicalBlock(scope: !4, file: !1, line: 3, column: 3)
133*9880d681SAndroid Build Coastguard Worker  !30 = !DILocation(line: 3, column: 17, scope: !27)
134*9880d681SAndroid Build Coastguard Worker  !31 = !DILocation(line: 3, column: 3, scope: !27)
135*9880d681SAndroid Build Coastguard Worker  !32 = !DILocation(line: 4, column: 11, scope: !33)
136*9880d681SAndroid Build Coastguard Worker  !33 = distinct !DILexicalBlock(scope: !34, file: !1, line: 4, column: 9)
137*9880d681SAndroid Build Coastguard Worker  !34 = distinct !DILexicalBlock(scope: !28, file: !1, line: 3, column: 31)
138*9880d681SAndroid Build Coastguard Worker  !35 = !DILocation(line: 4, column: 9, scope: !34)
139*9880d681SAndroid Build Coastguard Worker  !36 = !DILocation(line: 5, column: 13, scope: !37)
140*9880d681SAndroid Build Coastguard Worker  !37 = distinct !DILexicalBlock(scope: !33, file: !1, line: 4, column: 16)
141*9880d681SAndroid Build Coastguard Worker  !38 = !DILocation(line: 6, column: 7, scope: !37)
142*9880d681SAndroid Build Coastguard Worker  !39 = !DILocation(line: 8, column: 9, scope: !34)
143*9880d681SAndroid Build Coastguard Worker  !40 = !DILocation(line: 9, column: 13, scope: !41)
144*9880d681SAndroid Build Coastguard Worker  !41 = distinct !DILexicalBlock(scope: !42, file: !1, line: 8, column: 16)
145*9880d681SAndroid Build Coastguard Worker  !42 = distinct !DILexicalBlock(scope: !34, file: !1, line: 8, column: 9)
146*9880d681SAndroid Build Coastguard Worker  !43 = !DILocation(line: 10, column: 7, scope: !41)
147*9880d681SAndroid Build Coastguard Worker  !44 = !DILocation(line: 3, column: 27, scope: !28)
148*9880d681SAndroid Build Coastguard Worker  !45 = !DILocation(line: 12, column: 9, scope: !34)
149*9880d681SAndroid Build Coastguard Worker  !46 = !DILocation(line: 13, column: 13, scope: !47)
150*9880d681SAndroid Build Coastguard Worker  !47 = distinct !DILexicalBlock(scope: !48, file: !1, line: 12, column: 16)
151*9880d681SAndroid Build Coastguard Worker  !48 = distinct !DILexicalBlock(scope: !34, file: !1, line: 12, column: 9)
152*9880d681SAndroid Build Coastguard Worker  !49 = !DILocation(line: 14, column: 7, scope: !47)
153*9880d681SAndroid Build Coastguard Worker  !50 = !DILocation(line: 17, column: 3, scope: !4)
154*9880d681SAndroid Build Coastguard Worker
155*9880d681SAndroid Build Coastguard Worker...
156*9880d681SAndroid Build Coastguard Worker---
157*9880d681SAndroid Build Coastguard Workername:            add
158*9880d681SAndroid Build Coastguard Workeralignment:       4
159*9880d681SAndroid Build Coastguard WorkerexposesReturnsTwice: false
160*9880d681SAndroid Build Coastguard WorkerhasInlineAsm:    false
161*9880d681SAndroid Build Coastguard WorkerallVRegsAllocated: true
162*9880d681SAndroid Build Coastguard WorkerisSSA:           false
163*9880d681SAndroid Build Coastguard WorkertracksRegLiveness: true
164*9880d681SAndroid Build Coastguard WorkertracksSubRegLiveness: false
165*9880d681SAndroid Build Coastguard Workerliveins:
166*9880d681SAndroid Build Coastguard Worker  - { reg: '%edi' }
167*9880d681SAndroid Build Coastguard Worker  - { reg: '%esi' }
168*9880d681SAndroid Build Coastguard Worker  - { reg: '%edx' }
169*9880d681SAndroid Build Coastguard Worker  - { reg: '%ecx' }
170*9880d681SAndroid Build Coastguard WorkerframeInfo:
171*9880d681SAndroid Build Coastguard Worker  isFrameAddressTaken: false
172*9880d681SAndroid Build Coastguard Worker  isReturnAddressTaken: false
173*9880d681SAndroid Build Coastguard Worker  hasStackMap:     false
174*9880d681SAndroid Build Coastguard Worker  hasPatchPoint:   false
175*9880d681SAndroid Build Coastguard Worker  stackSize:       0
176*9880d681SAndroid Build Coastguard Worker  offsetAdjustment: 0
177*9880d681SAndroid Build Coastguard Worker  maxAlignment:    0
178*9880d681SAndroid Build Coastguard Worker  adjustsStack:    false
179*9880d681SAndroid Build Coastguard Worker  hasCalls:        false
180*9880d681SAndroid Build Coastguard Worker  maxCallFrameSize: 0
181*9880d681SAndroid Build Coastguard Worker  hasOpaqueSPAdjustment: false
182*9880d681SAndroid Build Coastguard Worker  hasVAStart:      false
183*9880d681SAndroid Build Coastguard Worker  hasMustTailInVarArgFunc: false
184*9880d681SAndroid Build Coastguard Workerbody:             |
185*9880d681SAndroid Build Coastguard Worker  bb.0.entry:
186*9880d681SAndroid Build Coastguard Worker    successors: %bb.1.for.body.preheader(20), %bb.9.for.end(12)
187*9880d681SAndroid Build Coastguard Worker    liveins: %ecx, %edi, %edx, %esi
188*9880d681SAndroid Build Coastguard Worker
189*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
190*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
191*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
192*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
193*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
194*9880d681SAndroid Build Coastguard Worker    %r8d = MOV32rr %esi, debug-location !26
195*9880d681SAndroid Build Coastguard Worker    %r8d = IMUL32rr killed %r8d, %edi, implicit-def dead %eflags, debug-location !26
196*9880d681SAndroid Build Coastguard Worker    TEST32rr %r8d, %r8d, implicit-def %eflags, debug-location !31
197*9880d681SAndroid Build Coastguard Worker    JLE_1 %bb.9.for.end, implicit %eflags
198*9880d681SAndroid Build Coastguard Worker
199*9880d681SAndroid Build Coastguard Worker  bb.1.for.body.preheader:
200*9880d681SAndroid Build Coastguard Worker    successors: %bb.3.for.body(0)
201*9880d681SAndroid Build Coastguard Worker    liveins: %ecx, %edi, %edx, %esi, %r8d
202*9880d681SAndroid Build Coastguard Worker
203*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
204*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
205*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
206*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
207*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
208*9880d681SAndroid Build Coastguard Worker    %eax = XOR32rr undef %eax, undef %eax, implicit-def dead %eflags
209*9880d681SAndroid Build Coastguard Worker
210*9880d681SAndroid Build Coastguard Worker  bb.3.for.body (align 4):
211*9880d681SAndroid Build Coastguard Worker    successors: %bb.4.if.then(4), %bb.5.if.end(124)
212*9880d681SAndroid Build Coastguard Worker    liveins: %eax, %ecx, %edi, %edx, %esi, %r8d
213*9880d681SAndroid Build Coastguard Worker
214*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
215*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
216*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
217*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
218*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
219*9880d681SAndroid Build Coastguard Worker    TEST32rr %edi, %edi, implicit-def %eflags, debug-location !35
220*9880d681SAndroid Build Coastguard Worker    JG_1 %bb.4.if.then, implicit %eflags
221*9880d681SAndroid Build Coastguard Worker
222*9880d681SAndroid Build Coastguard Worker  bb.5.if.end:
223*9880d681SAndroid Build Coastguard Worker    successors: %bb.6.if.then.4(4), %bb.7.if.end.6(124)
224*9880d681SAndroid Build Coastguard Worker    liveins: %eax, %ecx, %edi, %edx, %esi, %r8d
225*9880d681SAndroid Build Coastguard Worker
226*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
227*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
228*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
229*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
230*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
231*9880d681SAndroid Build Coastguard Worker    TEST32rr %esi, %esi, implicit-def %eflags, debug-location !39
232*9880d681SAndroid Build Coastguard Worker    JG_1 %bb.6.if.then.4, implicit %eflags
233*9880d681SAndroid Build Coastguard Worker
234*9880d681SAndroid Build Coastguard Worker  bb.7.if.end.6:
235*9880d681SAndroid Build Coastguard Worker    successors: %bb.8.if.then.8(4), %bb.2.for.cond(124)
236*9880d681SAndroid Build Coastguard Worker    liveins: %eax, %ecx, %edi, %edx, %esi, %r8d
237*9880d681SAndroid Build Coastguard Worker
238*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
239*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
240*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
241*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
242*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
243*9880d681SAndroid Build Coastguard Worker    TEST32rr %edx, %edx, implicit-def %eflags, debug-location !45
244*9880d681SAndroid Build Coastguard Worker    JG_1 %bb.8.if.then.8, implicit %eflags
245*9880d681SAndroid Build Coastguard Worker
246*9880d681SAndroid Build Coastguard Worker  bb.2.for.cond:
247*9880d681SAndroid Build Coastguard Worker    successors: %bb.3.for.body(124), %bb.9.for.end(4)
248*9880d681SAndroid Build Coastguard Worker    liveins: %eax, %ecx, %edi, %edx, %esi, %r8d
249*9880d681SAndroid Build Coastguard Worker
250*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
251*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
252*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
253*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
254*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
255*9880d681SAndroid Build Coastguard Worker    %eax = INC32r killed %eax, implicit-def dead %eflags, debug-location !44
256*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %eax, debug-use _, !13, !17, debug-location !25
257*9880d681SAndroid Build Coastguard Worker    CMP32rr %eax, %r8d, implicit-def %eflags, debug-location !31
258*9880d681SAndroid Build Coastguard Worker    JL_1 %bb.3.for.body, implicit %eflags
259*9880d681SAndroid Build Coastguard Worker    JMP_1 %bb.9.for.end
260*9880d681SAndroid Build Coastguard Worker
261*9880d681SAndroid Build Coastguard Worker  bb.4.if.then:
262*9880d681SAndroid Build Coastguard Worker    liveins: %ecx, %edi
263*9880d681SAndroid Build Coastguard Worker
264*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edi, debug-use _, !9, !17, debug-location !18
265*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
266*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
267*9880d681SAndroid Build Coastguard Worker    %ecx = IMUL32rr killed %ecx, killed %edi, implicit-def dead %eflags, debug-location !36
268*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
269*9880d681SAndroid Build Coastguard Worker    %eax = MOV32rr killed %ecx, debug-location !50
270*9880d681SAndroid Build Coastguard Worker    RETQ %eax, debug-location !50
271*9880d681SAndroid Build Coastguard Worker
272*9880d681SAndroid Build Coastguard Worker  bb.6.if.then.4:
273*9880d681SAndroid Build Coastguard Worker    liveins: %ecx, %esi
274*9880d681SAndroid Build Coastguard Worker
275*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %esi, debug-use _, !10, !17, debug-location !19
276*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
277*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
278*9880d681SAndroid Build Coastguard Worker    %ecx = IMUL32rr killed %ecx, killed %esi, implicit-def dead %eflags, debug-location !40
279*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
280*9880d681SAndroid Build Coastguard Worker    %eax = MOV32rr killed %ecx, debug-location !50
281*9880d681SAndroid Build Coastguard Worker    RETQ %eax, debug-location !50
282*9880d681SAndroid Build Coastguard Worker
283*9880d681SAndroid Build Coastguard Worker  bb.8.if.then.8:
284*9880d681SAndroid Build Coastguard Worker    successors: %bb.9.for.end(0)
285*9880d681SAndroid Build Coastguard Worker    liveins: %ecx, %edx
286*9880d681SAndroid Build Coastguard Worker
287*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %edx, debug-use _, !11, !17, debug-location !21
288*9880d681SAndroid Build Coastguard Worker    DBG_VALUE debug-use %ecx, debug-use _, !12, !17, debug-location !23
289*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
290*9880d681SAndroid Build Coastguard Worker    %ecx = IMUL32rr killed %ecx, killed %edx, implicit-def dead %eflags, debug-location !46
291*9880d681SAndroid Build Coastguard Worker
292*9880d681SAndroid Build Coastguard Worker  bb.9.for.end:
293*9880d681SAndroid Build Coastguard Worker    liveins: %ecx
294*9880d681SAndroid Build Coastguard Worker
295*9880d681SAndroid Build Coastguard Worker    DBG_VALUE 0, 0, !13, !17, debug-location !25
296*9880d681SAndroid Build Coastguard Worker    %eax = MOV32rr killed %ecx, debug-location !50
297*9880d681SAndroid Build Coastguard Worker    RETQ %eax, debug-location !50
298*9880d681SAndroid Build Coastguard Worker
299*9880d681SAndroid Build Coastguard Worker...
300