xref: /llvm-project/llvm/test/Transforms/SampleProfile/profile-context-tracker.ll (revision 45b155924e1662dc69883d14149908434f77094f)
16b989a17SWenlei He; Test for CSSPGO's SampleContextTracker to make sure context profile tree is promoted and merged properly
26b989a17SWenlei He; based on inline decision, so post inline counts are accurate.
36b989a17SWenlei He
47e99bddfSHongtao Yu; RUN: llvm-profdata merge --sample --extbinary %S/Inputs/profile-context-tracker.prof -o %t
57e99bddfSHongtao Yu
66b989a17SWenlei He; Note that we need new pass manager to enable top-down processing for sample profile loader
76bae5973SWenlei He; Test we inlined the following in top-down order and entry counts accurate reflects post-inline base profile
86b989a17SWenlei He;   main:3 @ _Z5funcAi
96b989a17SWenlei He;   main:3 @ _Z5funcAi:1 @ _Z8funcLeafi
106b989a17SWenlei He;   _Z5funcBi:1 @ _Z8funcLeafi
1161eb12e1Sspupyrev; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profile-context-tracker.prof -sample-profile-inline-size -sample-profile-prioritized-inline=0 -profile-sample-accurate -sample-profile-even-flow-distribution=0 -S | FileCheck %s --check-prefix=INLINE-ALL
1261eb12e1Sspupyrev; RUN: opt < %s -passes=sample-profile -sample-profile-file=%t -sample-profile-inline-size -sample-profile-prioritized-inline=0 -profile-sample-accurate -sample-profile-even-flow-distribution=0 -S | FileCheck %s --check-prefix=INLINE-ALL
1361eb12e1Sspupyrev; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profile-context-tracker.prof -sample-profile-inline-size -sample-profile-cold-inline-threshold=200 -profile-sample-accurate -sample-profile-even-flow-distribution=0 -S | FileCheck %s --check-prefix=INLINE-ALL
1461eb12e1Sspupyrev; RUN: opt < %s -passes=sample-profile -sample-profile-file=%t -sample-profile-inline-size -sample-profile-cold-inline-threshold=200 -profile-sample-accurate -sample-profile-even-flow-distribution=0 -S | FileCheck %s --check-prefix=INLINE-ALL
156bae5973SWenlei He;
166bae5973SWenlei He; Test we inlined the following in top-down order and entry counts accurate reflects post-inline base profile
176b989a17SWenlei He;   _Z5funcAi:1 @ _Z8funcLeafi
186b989a17SWenlei He;   _Z5funcBi:1 @ _Z8funcLeafi
196b989a17SWenlei He
20142cedc2Sminglotus-6; Test the functions won't be inlined as a result of sampled profile if `disable-sample-loader-inlining` is true.
21142cedc2Sminglotus-6;
22142cedc2Sminglotus-6; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profile-context-tracker.prof -sample-profile-inline-size -sample-profile-prioritized-inline=0 -profile-sample-accurate -disable-sample-loader-inlining -S | FileCheck %s --check-prefix=INLINE-NONE
23142cedc2Sminglotus-6; RUN: opt < %s -passes=sample-profile -sample-profile-file=%t -sample-profile-inline-size -sample-profile-prioritized-inline=0 -profile-sample-accurate -disable-sample-loader-inlining -S | FileCheck %s --check-prefix=INLINE-NONE
24142cedc2Sminglotus-6; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profile-context-tracker.prof -sample-profile-inline-size -sample-profile-cold-inline-threshold=200 -profile-sample-accurate -disable-sample-loader-inlining -S | FileCheck %s --check-prefix=INLINE-NONE
25142cedc2Sminglotus-6; RUN: opt < %s -passes=sample-profile -sample-profile-file=%t -sample-profile-inline-size -sample-profile-cold-inline-threshold=200 -profile-sample-accurate -disable-sample-loader-inlining -S | FileCheck %s --check-prefix=INLINE-NONE
26142cedc2Sminglotus-6
276b989a17SWenlei He
286b989a17SWenlei He@factor = dso_local global i32 3, align 4, !dbg !0
296b989a17SWenlei He
306b989a17SWenlei Hedefine dso_local i32 @main() local_unnamed_addr #0 !dbg !18 {
316b989a17SWenlei He; INLINE-ALL: @main{{.*}}!prof ![[MAIN_PROF:[0-9]+]]
326b989a17SWenlei He; INLINE-HOT: @main{{.*}}!prof ![[MAIN_PROF:[0-9]+]]
33142cedc2Sminglotus-6; INLINE-NONE: @main{{.*}}!prof ![[MAIN_PROF:[0-9]+]]
346b989a17SWenlei Heentry:
356b989a17SWenlei He  br label %for.body, !dbg !25
366b989a17SWenlei He
376b989a17SWenlei Hefor.cond.cleanup:                                 ; preds = %for.body
386b989a17SWenlei He  ret i32 %add3, !dbg !27
396b989a17SWenlei He
406b989a17SWenlei Hefor.body:                                         ; preds = %for.body, %entry
416b989a17SWenlei He  %x.011 = phi i32 [ 300000, %entry ], [ %dec, %for.body ]
426b989a17SWenlei He  %r.010 = phi i32 [ 0, %entry ], [ %add3, %for.body ]
436b989a17SWenlei He  %call = tail call i32 @_Z5funcBi(i32 %x.011), !dbg !32
446b989a17SWenlei He; _Z5funcBi is marked noinline
456b989a17SWenlei He; INLINE-ALL: call i32 @_Z5funcBi
466b989a17SWenlei He; INLINE-HOT: call i32 @_Z5funcBi
47142cedc2Sminglotus-6;
48142cedc2Sminglotus-6; _Z5funcBi isn't inlined since disable-sample-loader-inlining is true.
49142cedc2Sminglotus-6; INLINE-NONE:  call i32 @_Z5funcBi
506b989a17SWenlei He  %add = add nuw nsw i32 %x.011, 1, !dbg !31
516b989a17SWenlei He  %call1 = tail call i32 @_Z5funcAi(i32 %add), !dbg !28
526b989a17SWenlei He; INLINE-ALL-NOT: call i32 @_Z5funcAi
536b989a17SWenlei He; INLINE-HOT: call i32 @_Z5funcAi
54142cedc2Sminglotus-6;
55142cedc2Sminglotus-6; _Z5funcAi is not inlined since `disable-sample-loader-inlining` is true.
56142cedc2Sminglotus-6; INLINE-NONE: call i32 @_Z5funcAi
576b989a17SWenlei He  %add2 = add i32 %call, %r.010, !dbg !34
586b989a17SWenlei He  %add3 = add i32 %add2, %call1, !dbg !35
596b989a17SWenlei He  %dec = add nsw i32 %x.011, -1, !dbg !36
606b989a17SWenlei He  %cmp = icmp eq i32 %x.011, 0, !dbg !38
616b989a17SWenlei He  br i1 %cmp, label %for.cond.cleanup, label %for.body, !dbg !25
626b989a17SWenlei He}
636b989a17SWenlei He
646b989a17SWenlei Hedefine dso_local i32 @_Z5funcAi(i32 %x) local_unnamed_addr #1 !dbg !40 {
656b989a17SWenlei He; _Z5funcAi is inlined, so outline remainder should have zero counts
666b989a17SWenlei He; INLINE-ALL: @_Z5funcAi{{.*}}!prof ![[FUNCA_PROF:[0-9]+]]
676b989a17SWenlei He; INLINE-HOT: @_Z5funcAi{{.*}}!prof ![[FUNCA_PROF:[0-9]+]]
68142cedc2Sminglotus-6; INLINE-NONE: @_Z5funcAi{{.*}}!prof ![[FUNCA_PROF:[0-9]+]]
696b989a17SWenlei Heentry:
706b989a17SWenlei He  %add = add nsw i32 %x, 100000, !dbg !44
716b989a17SWenlei He; _Z8funcLeafi is already inlined on main->_Z5funcAi->_Z8funcLeafi,
726b989a17SWenlei He; so it should not be inlined on _Z5funcAi->_Z8funcLeafi based on updated
736b989a17SWenlei He; (merged and promoted) context profile
746b989a17SWenlei He; INLINE-ALL: call i32 @_Z8funcLeafi
756b989a17SWenlei He; INLINE-HOT-NOT: call i32 @_Z8funcLeafi
76142cedc2Sminglotus-6;
77142cedc2Sminglotus-6; `_Z8funcLeafi` isn't inlined if `disable-sample-loader-inlining` is true.
78142cedc2Sminglotus-6; INLINE-NONE: call i32 @_Z8funcLeafi
796b989a17SWenlei He  %call = tail call i32 @_Z8funcLeafi(i32 %add), !dbg !45
806b989a17SWenlei He  ret i32 %call, !dbg !46
816b989a17SWenlei He}
826b989a17SWenlei He
836b989a17SWenlei Hedefine dso_local i32 @_Z8funcLeafi(i32 %x) local_unnamed_addr #1 !dbg !54 {
846b989a17SWenlei He; main->_Z5funcAi->_Z8funcLeafi is inlined, and _Z5funcBi->_Z8funcLeafi is also
856b989a17SWenlei He; inlined, so outline remainder should have empty profile
866b989a17SWenlei He; INLINE-ALL: @_Z8funcLeafi{{.*}}!prof ![[LEAF_PROF:[0-9]+]]
876b989a17SWenlei He; INLINE-HOT: @_Z8funcLeafi{{.*}}!prof ![[LEAF_PROF:[0-9]+]]
88142cedc2Sminglotus-6;
89142cedc2Sminglotus-6; _Z8funcLeafi won't be inlined if `disable-sample-loader-inlining` is true.
90142cedc2Sminglotus-6; INLINE-NONE: @_Z8funcLeafi{{.*}}!prof ![[LEAF_PROF:[0-9]+]]
916b989a17SWenlei Heentry:
926b989a17SWenlei He  %cmp = icmp sgt i32 %x, 0, !dbg !57
936b989a17SWenlei He  br i1 %cmp, label %while.body, label %while.cond2.preheader, !dbg !59
946b989a17SWenlei He
956b989a17SWenlei Hewhile.cond2.preheader:                            ; preds = %entry
966b989a17SWenlei He  %cmp313 = icmp slt i32 %x, 0, !dbg !60
976b989a17SWenlei He  br i1 %cmp313, label %while.body4, label %if.end, !dbg !63
986b989a17SWenlei He
996b989a17SWenlei Hewhile.body:                                       ; preds = %while.body, %entry
1006b989a17SWenlei He  %x.addr.016 = phi i32 [ %sub, %while.body ], [ %x, %entry ]
1010271ae65SFangrui Song  %tmp = load volatile i32, ptr @factor, align 4, !dbg !64
1026b989a17SWenlei He  %call = tail call i32 @_Z3fibi(i32 %tmp), !dbg !67
1036b989a17SWenlei He  %sub = sub nsw i32 %x.addr.016, %call, !dbg !68
1046b989a17SWenlei He  %cmp1 = icmp sgt i32 %sub, 0, !dbg !69
1056b989a17SWenlei He  br i1 %cmp1, label %while.body, label %if.end, !dbg !71
1066b989a17SWenlei He
1076b989a17SWenlei Hewhile.body4:                                      ; preds = %while.body4, %while.cond2.preheader
1086b989a17SWenlei He  %x.addr.114 = phi i32 [ %add, %while.body4 ], [ %x, %while.cond2.preheader ]
1090271ae65SFangrui Song  %tmp1 = load volatile i32, ptr @factor, align 4, !dbg !72
1106b989a17SWenlei He  %call5 = tail call i32 @_Z3fibi(i32 %tmp1), !dbg !74
1116b989a17SWenlei He  %add = add nsw i32 %call5, %x.addr.114, !dbg !75
1126b989a17SWenlei He  %cmp3 = icmp slt i32 %add, 0, !dbg !60
1136b989a17SWenlei He  br i1 %cmp3, label %while.body4, label %if.end, !dbg !63
1146b989a17SWenlei He
1156b989a17SWenlei Heif.end:                                           ; preds = %while.body4, %while.body, %while.cond2.preheader
1166b989a17SWenlei He  %x.addr.2 = phi i32 [ 0, %while.cond2.preheader ], [ %sub, %while.body ], [ %add, %while.body4 ]
1176b989a17SWenlei He  ret i32 %x.addr.2, !dbg !76
1186b989a17SWenlei He}
1196b989a17SWenlei He
1206b989a17SWenlei Hedefine dso_local i32 @_Z5funcBi(i32 %x) local_unnamed_addr #0 !dbg !47 {
1216b989a17SWenlei He; _Z5funcBi is marked noinline, so outline remainder has promoted context profile
1226b989a17SWenlei He; INLINE-ALL: @_Z5funcBi{{.*}}!prof ![[FUNCB_PROF:[0-9]+]]
1236b989a17SWenlei He; INLINE-HOT: @_Z5funcBi{{.*}}!prof ![[FUNCB_PROF:[0-9]+]]
124142cedc2Sminglotus-6; _Z5funcBi won't be inlined since `disable-sample-loader-inlining` is true.
125142cedc2Sminglotus-6; INLINE-NONE: @_Z5funcBi{{.*}}!prof ![[FUNCB_PROF:[0-9]+]]
1266b989a17SWenlei Heentry:
1276b989a17SWenlei He  %sub = add nsw i32 %x, -100000, !dbg !51
1286b989a17SWenlei He  %call = tail call i32 @_Z8funcLeafi(i32 %sub), !dbg !52
1296b989a17SWenlei He; _Z5funcBi is not inlined into main, so we main->_Z5funcBi->_Z8funcLeafi
1306b989a17SWenlei He; should be inlined based on promoted context profile
1316b989a17SWenlei He; INLINE-ALL-NOT: call i32 @_Z8funcLeafi
1326b989a17SWenlei He; INLINE-HOT-NOT: call i32 @_Z8funcLeafi
133142cedc2Sminglotus-6;
134142cedc2Sminglotus-6; INLINE-NONE: call i32 @_Z8funcLeafi
1356b989a17SWenlei He  ret i32 %call, !dbg !53
1366b989a17SWenlei He}
1376b989a17SWenlei He
1384e24ca1cSHongtao Yu; INLINE-ALL-DAG: [[MAIN_PROF]] = !{!"function_entry_count", i64 1}
1396b989a17SWenlei He; INLINE-ALL-DAG: [[FUNCA_PROF]] = !{!"function_entry_count", i64 0}
1406b989a17SWenlei He; INLINE-ALL-DAG-SAME: [[LEAF_PROF]] = !{!"function_entry_count", i64 0}
1414e24ca1cSHongtao Yu; INLINE-ALL-DAG: [[FUNCB_PROF]] = !{!"function_entry_count", i64 13}
1426b989a17SWenlei He
1434e24ca1cSHongtao Yu; INLINE-HOT-DAG: [[MAIN_PROF]] = !{!"function_entry_count", i64 1}
1446b989a17SWenlei He; INLINE-HOT-DAG: [[FUNCA_PROF]] = !{!"function_entry_count", i64 12}
1456b989a17SWenlei He; INLINE-HOT-DAG-SAME: [[LEAF_PROF]] = !{!"function_entry_count", i64 0}
1464e24ca1cSHongtao Yu; INLINE-HOT-DAG: [[FUNCB_PROF]] = !{!"function_entry_count", i64 13}
1476b989a17SWenlei He
148*45b15592Sspupyrev; INLINE-NONE: [[MAIN_PROF]] = !{!"function_entry_count", i64 14}
149142cedc2Sminglotus-6; INLINE-NONE: [[FUNCA_PROF]] = !{!"function_entry_count", i64 24}
150f2ade65fSspupyrev; INLINE-NONE-DAG-SAME: [[LEAF_PROF]] = !{!"function_entry_count", i64 21}
151142cedc2Sminglotus-6; INLINE-NONE-DAG: [[FUNCB_PROF]] = !{!"function_entry_count", i64 32}
152142cedc2Sminglotus-6
1536b989a17SWenlei Hedeclare i32 @_Z3fibi(i32)
1546b989a17SWenlei He
1554ab3041aSserge-sans-pailleattributes #0 = { nofree noinline norecurse nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "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"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" "use-sample-profile" }
1564ab3041aSserge-sans-pailleattributes #1 = { nofree norecurse nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "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"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" "use-sample-profile" }
1576b989a17SWenlei He
1586b989a17SWenlei He!llvm.dbg.cu = !{!2}
1596b989a17SWenlei He!llvm.module.flags = !{!14, !15, !16}
1606b989a17SWenlei He!llvm.ident = !{!17}
1616b989a17SWenlei He
1626b989a17SWenlei He!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
1636b989a17SWenlei He!1 = distinct !DIGlobalVariable(name: "factor", scope: !2, file: !3, line: 21, type: !13, isLocal: false, isDefinition: true)
1646b989a17SWenlei He!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !3, producer: "clang version 11.0.0", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !5, globals: !12, splitDebugInlining: false, debugInfoForProfiling: true, nameTableKind: None)
1656b989a17SWenlei He!3 = !DIFile(filename: "merged.cpp", directory: "/local/autofdo")
1666b989a17SWenlei He!4 = !{}
1676b989a17SWenlei He!5 = !{!6, !10, !11}
1686b989a17SWenlei He!6 = !DISubprogram(name: "funcA", linkageName: "_Z5funcAi", scope: !3, file: !3, line: 6, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized, retainedNodes: !4)
1696b989a17SWenlei He!7 = !DISubroutineType(types: !8)
1706b989a17SWenlei He!8 = !{!9, !9}
1716b989a17SWenlei He!9 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
1726b989a17SWenlei He!10 = !DISubprogram(name: "funcB", linkageName: "_Z5funcBi", scope: !3, file: !3, line: 7, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized, retainedNodes: !4)
1736b989a17SWenlei He!11 = !DISubprogram(name: "funcLeaf", linkageName: "_Z8funcLeafi", scope: !3, file: !3, line: 22, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized, retainedNodes: !4)
1746b989a17SWenlei He!12 = !{!0}
1756b989a17SWenlei He!13 = !DIDerivedType(tag: DW_TAG_volatile_type, baseType: !9)
1766b989a17SWenlei He!14 = !{i32 7, !"Dwarf Version", i32 4}
1776b989a17SWenlei He!15 = !{i32 2, !"Debug Info Version", i32 3}
1786b989a17SWenlei He!16 = !{i32 1, !"wchar_size", i32 4}
1796b989a17SWenlei He!17 = !{!"clang version 11.0.0"}
1806b989a17SWenlei He!18 = distinct !DISubprogram(name: "main", scope: !3, file: !3, line: 11, type: !19, scopeLine: 11, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !21)
1816b989a17SWenlei He!19 = !DISubroutineType(types: !20)
1826b989a17SWenlei He!20 = !{!9}
1836b989a17SWenlei He!21 = !{!22, !23}
1846b989a17SWenlei He!22 = !DILocalVariable(name: "r", scope: !18, file: !3, line: 12, type: !9)
1856b989a17SWenlei He!23 = !DILocalVariable(name: "x", scope: !24, file: !3, line: 13, type: !9)
1866b989a17SWenlei He!24 = distinct !DILexicalBlock(scope: !18, file: !3, line: 13, column: 3)
1876b989a17SWenlei He!25 = !DILocation(line: 13, column: 3, scope: !26)
1886b989a17SWenlei He!26 = !DILexicalBlockFile(scope: !24, file: !3, discriminator: 2)
1896b989a17SWenlei He!27 = !DILocation(line: 17, column: 3, scope: !18)
1906b989a17SWenlei He!28 = !DILocation(line: 14, column: 10, scope: !29)
1916b989a17SWenlei He!29 = distinct !DILexicalBlock(scope: !30, file: !3, line: 13, column: 37)
1926b989a17SWenlei He!30 = distinct !DILexicalBlock(scope: !24, file: !3, line: 13, column: 3)
1936b989a17SWenlei He!31 = !DILocation(line: 14, column: 29, scope: !29)
1946b989a17SWenlei He!32 = !DILocation(line: 14, column: 21, scope: !33)
1956b989a17SWenlei He!33 = !DILexicalBlockFile(scope: !29, file: !3, discriminator: 2)
1966b989a17SWenlei He!34 = !DILocation(line: 14, column: 19, scope: !29)
1976b989a17SWenlei He!35 = !DILocation(line: 14, column: 7, scope: !29)
1986b989a17SWenlei He!36 = !DILocation(line: 13, column: 33, scope: !37)
1996b989a17SWenlei He!37 = !DILexicalBlockFile(scope: !30, file: !3, discriminator: 6)
2006b989a17SWenlei He!38 = !DILocation(line: 13, column: 26, scope: !39)
2016b989a17SWenlei He!39 = !DILexicalBlockFile(scope: !30, file: !3, discriminator: 2)
2026b989a17SWenlei He!40 = distinct !DISubprogram(name: "funcA", linkageName: "_Z5funcAi", scope: !3, file: !3, line: 26, type: !7, scopeLine: 26, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2)
2036b989a17SWenlei He!44 = !DILocation(line: 27, column: 22, scope: !40)
2046b989a17SWenlei He!45 = !DILocation(line: 27, column: 11, scope: !40)
2056b989a17SWenlei He!46 = !DILocation(line: 29, column: 3, scope: !40)
2066b989a17SWenlei He!47 = distinct !DISubprogram(name: "funcB", linkageName: "_Z5funcBi", scope: !3, file: !3, line: 32, type: !7, scopeLine: 32, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2)
2076b989a17SWenlei He!51 = !DILocation(line: 33, column: 22, scope: !47)
2086b989a17SWenlei He!52 = !DILocation(line: 33, column: 11, scope: !47)
2096b989a17SWenlei He!53 = !DILocation(line: 35, column: 3, scope: !47)
2106b989a17SWenlei He!54 = distinct !DISubprogram(name: "funcLeaf", linkageName: "_Z8funcLeafi", scope: !3, file: !3, line: 48, type: !7, scopeLine: 48, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2)
2116b989a17SWenlei He!57 = !DILocation(line: 49, column: 9, scope: !58)
2126b989a17SWenlei He!58 = distinct !DILexicalBlock(scope: !54, file: !3, line: 49, column: 7)
2136b989a17SWenlei He!59 = !DILocation(line: 49, column: 7, scope: !54)
2146b989a17SWenlei He!60 = !DILocation(line: 58, column: 14, scope: !61)
2156b989a17SWenlei He!61 = !DILexicalBlockFile(scope: !62, file: !3, discriminator: 2)
2166b989a17SWenlei He!62 = distinct !DILexicalBlock(scope: !58, file: !3, line: 56, column: 8)
2176b989a17SWenlei He!63 = !DILocation(line: 58, column: 5, scope: !61)
2186b989a17SWenlei He!64 = !DILocation(line: 52, column: 16, scope: !65)
2196b989a17SWenlei He!65 = distinct !DILexicalBlock(scope: !66, file: !3, line: 51, column: 19)
2206b989a17SWenlei He!66 = distinct !DILexicalBlock(scope: !58, file: !3, line: 49, column: 14)
2216b989a17SWenlei He!67 = !DILocation(line: 52, column: 12, scope: !65)
2226b989a17SWenlei He!68 = !DILocation(line: 52, column: 9, scope: !65)
2236b989a17SWenlei He!69 = !DILocation(line: 51, column: 14, scope: !70)
2246b989a17SWenlei He!70 = !DILexicalBlockFile(scope: !66, file: !3, discriminator: 2)
2256b989a17SWenlei He!71 = !DILocation(line: 51, column: 5, scope: !70)
2266b989a17SWenlei He!72 = !DILocation(line: 59, column: 16, scope: !73)
2276b989a17SWenlei He!73 = distinct !DILexicalBlock(scope: !62, file: !3, line: 58, column: 19)
2286b989a17SWenlei He!74 = !DILocation(line: 59, column: 12, scope: !73)
2296b989a17SWenlei He!75 = !DILocation(line: 59, column: 9, scope: !73)
2306b989a17SWenlei He!76 = !DILocation(line: 63, column: 3, scope: !54)
231