precompile and cache Carbon prelude (#7432)

Refactors the link driver to automatically compile and cache the carbon
prelude for use in linking.

Implements a `carbon_library` rule for compiling the Core library
dependencies in the examples.
This commit is contained in:
Lucile Rose Nihlen
2026-07-16 18:02:14 +00:00
committed by GitHub
parent 90f6654b48
commit 625f2ca629
63 changed files with 1454 additions and 634 deletions
@@ -2,6 +2,7 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// EXTRA-ARGS: --include-carbon-core
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
//
// AUTOUPDATE
@@ -89,25 +90,25 @@ fn Run() {
// CHECK:STDOUT: !1 = !DIFile(filename: "call_different_impls.carbon", directory: "")
// CHECK:STDOUT: !2 = !{i32 7, !"Dwarf Version", i32 5}
// CHECK:STDOUT: !3 = !{i32 2, !"Debug Info Version", i32 3}
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 21, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !5 = !DISubroutineType(types: !6)
// CHECK:STDOUT: !6 = !{null}
// CHECK:STDOUT: !7 = !DILocation(line: 20, column: 12, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 20, column: 3, scope: !4)
// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !10 = !DILocation(line: 24, column: 12, scope: !9)
// CHECK:STDOUT: !11 = !DILocation(line: 24, column: 3, scope: !9)
// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 31, type: !13, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !7 = !DILocation(line: 21, column: 12, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 21, column: 3, scope: !4)
// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 25, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !10 = !DILocation(line: 25, column: 12, scope: !9)
// CHECK:STDOUT: !11 = !DILocation(line: 25, column: 3, scope: !9)
// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 32, type: !13, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !13 = !DISubroutineType(types: !14)
// CHECK:STDOUT: !14 = !{!15}
// CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
// CHECK:STDOUT: !16 = !DILocation(line: 32, column: 3, scope: !12)
// CHECK:STDOUT: !17 = !DILocation(line: 33, column: 3, scope: !12)
// CHECK:STDOUT: !18 = !DILocation(line: 31, column: 1, scope: !12)
// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c81631f865470482", scope: null, file: !1, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !20 = !DILocation(line: 29, column: 22, scope: !19)
// CHECK:STDOUT: !21 = !DILocation(line: 29, column: 1, scope: !19)
// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.0b241ec84a68877b", scope: null, file: !1, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !23 = !DILocation(line: 29, column: 22, scope: !22)
// CHECK:STDOUT: !24 = !DILocation(line: 29, column: 1, scope: !22)
// CHECK:STDOUT: !16 = !DILocation(line: 33, column: 3, scope: !12)
// CHECK:STDOUT: !17 = !DILocation(line: 34, column: 3, scope: !12)
// CHECK:STDOUT: !18 = !DILocation(line: 32, column: 1, scope: !12)
// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c81631f865470482", scope: null, file: !1, line: 30, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !20 = !DILocation(line: 30, column: 22, scope: !19)
// CHECK:STDOUT: !21 = !DILocation(line: 30, column: 1, scope: !19)
// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.0b241ec84a68877b", scope: null, file: !1, line: 30, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !23 = !DILocation(line: 30, column: 22, scope: !22)
// CHECK:STDOUT: !24 = !DILocation(line: 30, column: 1, scope: !22)
// CHECK:STDOUT:
@@ -2,6 +2,7 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// EXTRA-ARGS: --include-carbon-core
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
//
// AUTOUPDATE
@@ -81,25 +82,25 @@ fn Run() {
// CHECK:STDOUT: ; Function Attrs: nounwind
// CHECK:STDOUT: define linkonce_odr void @_CG.Main.e2c7a58ecf9ad23e() #0 !dbg !26 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %.loc37_20.1.temp = alloca i1, align 1, !dbg !29
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc37_20.1.temp), !dbg !29
// CHECK:STDOUT: %.loc38_20.1.temp = alloca i1, align 1, !dbg !29
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc38_20.1.temp), !dbg !29
// CHECK:STDOUT: %I.WithSelf.F.call = call i1 @"_CF.X.Main:I.Main"(), !dbg !29
// CHECK:STDOUT: %.loc37_20.2 = zext i1 %I.WithSelf.F.call to i8, !dbg !29
// CHECK:STDOUT: store i8 %.loc37_20.2, ptr %.loc37_20.1.temp, align 1, !dbg !29
// CHECK:STDOUT: %.loc37_20.3 = load i8, ptr %.loc37_20.1.temp, align 1, !dbg !29
// CHECK:STDOUT: %.loc37_20.31 = trunc i8 %.loc37_20.3 to i1, !dbg !29
// CHECK:STDOUT: %.loc38_20.2 = zext i1 %I.WithSelf.F.call to i8, !dbg !29
// CHECK:STDOUT: store i8 %.loc38_20.2, ptr %.loc38_20.1.temp, align 1, !dbg !29
// CHECK:STDOUT: %.loc38_20.3 = load i8, ptr %.loc38_20.1.temp, align 1, !dbg !29
// CHECK:STDOUT: %.loc38_20.31 = trunc i8 %.loc38_20.3 to i1, !dbg !29
// CHECK:STDOUT: ret void, !dbg !30
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: ; Function Attrs: nounwind
// CHECK:STDOUT: define linkonce_odr void @_CG.Main.01a101e5421592ac() #0 !dbg !31 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %.loc37_20.1.temp = alloca i32, align 4, !dbg !32
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc37_20.1.temp), !dbg !32
// CHECK:STDOUT: %.loc38_20.1.temp = alloca i32, align 4, !dbg !32
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc38_20.1.temp), !dbg !32
// CHECK:STDOUT: %I.WithSelf.F.call = call i32 @"_CF.Y.Main:I.Main"(), !dbg !32
// CHECK:STDOUT: store i32 %I.WithSelf.F.call, ptr %.loc37_20.1.temp, align 4, !dbg !32
// CHECK:STDOUT: %.loc37_20.3 = load i32, ptr %.loc37_20.1.temp, align 4, !dbg !32
// CHECK:STDOUT: call void @"_COp.5e27612b9dd31a14:core.Destroy.Core"(ptr %.loc37_20.1.temp), !dbg !32
// CHECK:STDOUT: store i32 %I.WithSelf.F.call, ptr %.loc38_20.1.temp, align 4, !dbg !32
// CHECK:STDOUT: %.loc38_20.3 = load i32, ptr %.loc38_20.1.temp, align 4, !dbg !32
// CHECK:STDOUT: call void @"_COp.5e27612b9dd31a14:core.Destroy.Core"(ptr %.loc38_20.1.temp), !dbg !32
// CHECK:STDOUT: ret void, !dbg !33
// CHECK:STDOUT: }
// CHECK:STDOUT:
@@ -120,34 +121,34 @@ fn Run() {
// CHECK:STDOUT: !1 = !DIFile(filename: "call_different_impls_with_const.carbon", directory: "")
// CHECK:STDOUT: !2 = !{i32 7, !"Dwarf Version", i32 5}
// CHECK:STDOUT: !3 = !{i32 2, !"Debug Info Version", i32 3}
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 21, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !5 = !DISubroutineType(types: !6)
// CHECK:STDOUT: !6 = !{!7}
// CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64)
// CHECK:STDOUT: !8 = !DILocation(line: 22, column: 5, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 23, column: 5, scope: !4)
// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 27, type: !11, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !14)
// CHECK:STDOUT: !8 = !DILocation(line: 23, column: 5, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 24, column: 5, scope: !4)
// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 28, type: !11, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !14)
// CHECK:STDOUT: !11 = !DISubroutineType(types: !12)
// CHECK:STDOUT: !12 = !{null, !13}
// CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
// CHECK:STDOUT: !14 = !{!15}
// CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !10, type: !13)
// CHECK:STDOUT: !16 = !DILocation(line: 27, column: 24, scope: !10)
// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 28, type: !18, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !16 = !DILocation(line: 28, column: 24, scope: !10)
// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 29, type: !18, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !18 = !DISubroutineType(types: !19)
// CHECK:STDOUT: !19 = !{!13}
// CHECK:STDOUT: !20 = !DILocation(line: 29, column: 5, scope: !17)
// CHECK:STDOUT: !21 = !DILocation(line: 30, column: 5, scope: !17)
// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 40, type: !18, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !23 = !DILocation(line: 41, column: 3, scope: !22)
// CHECK:STDOUT: !24 = !DILocation(line: 42, column: 3, scope: !22)
// CHECK:STDOUT: !25 = !DILocation(line: 40, column: 1, scope: !22)
// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.e2c7a58ecf9ad23e", scope: null, file: !1, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !20 = !DILocation(line: 30, column: 5, scope: !17)
// CHECK:STDOUT: !21 = !DILocation(line: 31, column: 5, scope: !17)
// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 41, type: !18, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !23 = !DILocation(line: 42, column: 3, scope: !22)
// CHECK:STDOUT: !24 = !DILocation(line: 43, column: 3, scope: !22)
// CHECK:STDOUT: !25 = !DILocation(line: 41, column: 1, scope: !22)
// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.e2c7a58ecf9ad23e", scope: null, file: !1, line: 37, type: !27, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !27 = !DISubroutineType(types: !28)
// CHECK:STDOUT: !28 = !{null}
// CHECK:STDOUT: !29 = !DILocation(line: 37, column: 16, scope: !26)
// CHECK:STDOUT: !30 = !DILocation(line: 36, column: 1, scope: !26)
// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.01a101e5421592ac", scope: null, file: !1, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !32 = !DILocation(line: 37, column: 16, scope: !31)
// CHECK:STDOUT: !33 = !DILocation(line: 36, column: 1, scope: !31)
// CHECK:STDOUT: !29 = !DILocation(line: 38, column: 16, scope: !26)
// CHECK:STDOUT: !30 = !DILocation(line: 37, column: 1, scope: !26)
// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.01a101e5421592ac", scope: null, file: !1, line: 37, type: !27, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !32 = !DILocation(line: 38, column: 16, scope: !31)
// CHECK:STDOUT: !33 = !DILocation(line: 37, column: 1, scope: !31)
// CHECK:STDOUT:
@@ -2,6 +2,7 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// EXTRA-ARGS: --include-carbon-core
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
//
// AUTOUPDATE
@@ -77,14 +78,14 @@ fn M() {
// CHECK:STDOUT: store ptr %n.var, ptr %ptr_i32.var, align 8, !dbg !9
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !10
// CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !10
// CHECK:STDOUT: %.loc53_5 = load i32, ptr %n.var, align 4, !dbg !11
// CHECK:STDOUT: %A.call.loc53 = call i32 @_CA.Main.5bd8d5767580997a(i32 %.loc53_5, i32 0), !dbg !12
// CHECK:STDOUT: %.loc54_5 = load double, ptr %m.var, align 8, !dbg !13
// CHECK:STDOUT: %A.call.loc54 = call double @_CA.Main.c27b765f2159c9a0(double %.loc54_5, i32 0), !dbg !14
// CHECK:STDOUT: %.loc55_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15
// CHECK:STDOUT: %A.call.loc55 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc55_5, i32 0), !dbg !16
// CHECK:STDOUT: %.loc56_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17
// CHECK:STDOUT: %A.call.loc56 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc56_5, i32 0), !dbg !18
// CHECK:STDOUT: %.loc54_5 = load i32, ptr %n.var, align 4, !dbg !11
// CHECK:STDOUT: %A.call.loc54 = call i32 @_CA.Main.5bd8d5767580997a(i32 %.loc54_5, i32 0), !dbg !12
// CHECK:STDOUT: %.loc55_5 = load double, ptr %m.var, align 8, !dbg !13
// CHECK:STDOUT: %A.call.loc55 = call double @_CA.Main.c27b765f2159c9a0(double %.loc55_5, i32 0), !dbg !14
// CHECK:STDOUT: %.loc56_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15
// CHECK:STDOUT: %A.call.loc56 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc56_5, i32 0), !dbg !16
// CHECK:STDOUT: %.loc57_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17
// CHECK:STDOUT: %A.call.loc57 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc57_5, i32 0), !dbg !18
// CHECK:STDOUT: call void @"_COp.30d8007fdcc57f83:core.Destroy.Core"(ptr %m.var), !dbg !8
// CHECK:STDOUT: call void @"_COp.5e27612b9dd31a14:core.Destroy.Core"(ptr %n.var), !dbg !7
// CHECK:STDOUT: ret void, !dbg !19
@@ -109,21 +110,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr i32 @_CA.Main.5bd8d5767580997a(i32 %x, i32 %count) #0 !dbg !34 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !40
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !41
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc23, label %if.else.loc23, !dbg !41
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc22: ; preds = %entry
// CHECK:STDOUT: if.then.loc23: ; preds = %entry
// CHECK:STDOUT: ret i32 %x, !dbg !42
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc22: ; preds = %entry
// CHECK:STDOUT: if.else.loc23: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !43
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !43
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !44
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc26, label %if.else.loc26, !dbg !44
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.then.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %B.call = call i32 @_CB.Main.5bd8d5767580997a(i32 %x, i32 %count), !dbg !45
// CHECK:STDOUT: ret i32 %B.call, !dbg !46
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.else.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %C.call = call i32 @_CC.Main.5bd8d5767580997a(i32 %x, i32 %count), !dbg !47
// CHECK:STDOUT: ret i32 %C.call, !dbg !48
// CHECK:STDOUT: }
@@ -132,21 +133,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr double @_CA.Main.c27b765f2159c9a0(double %x, i32 %count) #0 !dbg !49 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !55
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !56
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc23, label %if.else.loc23, !dbg !56
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc22: ; preds = %entry
// CHECK:STDOUT: if.then.loc23: ; preds = %entry
// CHECK:STDOUT: ret double %x, !dbg !57
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc22: ; preds = %entry
// CHECK:STDOUT: if.else.loc23: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !58
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !58
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !59
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc26, label %if.else.loc26, !dbg !59
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.then.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %B.call = call double @_CB.Main.c27b765f2159c9a0(double %x, i32 %count), !dbg !60
// CHECK:STDOUT: ret double %B.call, !dbg !61
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.else.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %C.call = call double @_CC.Main.c27b765f2159c9a0(double %x, i32 %count), !dbg !62
// CHECK:STDOUT: ret double %C.call, !dbg !63
// CHECK:STDOUT: }
@@ -155,21 +156,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr ptr @_CA.Main.2621742a01881e29(ptr %x, i32 %count) #0 !dbg !64 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !68
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !69
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc23, label %if.else.loc23, !dbg !69
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc22: ; preds = %entry
// CHECK:STDOUT: if.then.loc23: ; preds = %entry
// CHECK:STDOUT: ret ptr %x, !dbg !70
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc22: ; preds = %entry
// CHECK:STDOUT: if.else.loc23: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !71
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !71
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !72
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc26, label %if.else.loc26, !dbg !72
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.then.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %B.call = call ptr @_CB.Main.2621742a01881e29(ptr %x, i32 %count), !dbg !73
// CHECK:STDOUT: ret ptr %B.call, !dbg !74
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22
// CHECK:STDOUT: if.else.loc26: ; preds = %if.else.loc23
// CHECK:STDOUT: %C.call = call ptr @_CC.Main.2621742a01881e29(ptr %x, i32 %count), !dbg !75
// CHECK:STDOUT: ret ptr %C.call, !dbg !76
// CHECK:STDOUT: }
@@ -266,140 +267,140 @@ fn M() {
// CHECK:STDOUT: !1 = !DIFile(filename: "call_recursive_diamond.carbon", directory: "")
// CHECK:STDOUT: !2 = !{i32 7, !"Dwarf Version", i32 5}
// CHECK:STDOUT: !3 = !{i32 2, !"Debug Info Version", i32 3}
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "M", linkageName: "_CM.Main", scope: null, file: !1, line: 47, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "M", linkageName: "_CM.Main", scope: null, file: !1, line: 48, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !5 = !DISubroutineType(types: !6)
// CHECK:STDOUT: !6 = !{null}
// CHECK:STDOUT: !7 = !DILocation(line: 48, column: 3, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 49, column: 3, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 50, column: 3, scope: !4)
// CHECK:STDOUT: !10 = !DILocation(line: 51, column: 3, scope: !4)
// CHECK:STDOUT: !11 = !DILocation(line: 53, column: 5, scope: !4)
// CHECK:STDOUT: !12 = !DILocation(line: 53, column: 3, scope: !4)
// CHECK:STDOUT: !13 = !DILocation(line: 54, column: 5, scope: !4)
// CHECK:STDOUT: !14 = !DILocation(line: 54, column: 3, scope: !4)
// CHECK:STDOUT: !15 = !DILocation(line: 55, column: 5, scope: !4)
// CHECK:STDOUT: !16 = !DILocation(line: 55, column: 3, scope: !4)
// CHECK:STDOUT: !17 = !DILocation(line: 56, column: 5, scope: !4)
// CHECK:STDOUT: !18 = !DILocation(line: 56, column: 3, scope: !4)
// CHECK:STDOUT: !19 = !DILocation(line: 47, column: 1, scope: !4)
// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.30d8007fdcc57f83:core.Destroy.Core", scope: null, file: !1, line: 49, type: !21, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !24)
// CHECK:STDOUT: !7 = !DILocation(line: 49, column: 3, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 50, column: 3, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 51, column: 3, scope: !4)
// CHECK:STDOUT: !10 = !DILocation(line: 52, column: 3, scope: !4)
// CHECK:STDOUT: !11 = !DILocation(line: 54, column: 5, scope: !4)
// CHECK:STDOUT: !12 = !DILocation(line: 54, column: 3, scope: !4)
// CHECK:STDOUT: !13 = !DILocation(line: 55, column: 5, scope: !4)
// CHECK:STDOUT: !14 = !DILocation(line: 55, column: 3, scope: !4)
// CHECK:STDOUT: !15 = !DILocation(line: 56, column: 5, scope: !4)
// CHECK:STDOUT: !16 = !DILocation(line: 56, column: 3, scope: !4)
// CHECK:STDOUT: !17 = !DILocation(line: 57, column: 5, scope: !4)
// CHECK:STDOUT: !18 = !DILocation(line: 57, column: 3, scope: !4)
// CHECK:STDOUT: !19 = !DILocation(line: 48, column: 1, scope: !4)
// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.30d8007fdcc57f83:core.Destroy.Core", scope: null, file: !1, line: 50, type: !21, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !24)
// CHECK:STDOUT: !21 = !DISubroutineType(types: !22)
// CHECK:STDOUT: !22 = !{null, !23}
// CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64)
// CHECK:STDOUT: !24 = !{!25}
// CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23)
// CHECK:STDOUT: !26 = !DILocation(line: 49, column: 3, scope: !20)
// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 48, type: !28, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !31)
// CHECK:STDOUT: !26 = !DILocation(line: 50, column: 3, scope: !20)
// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 49, type: !28, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !31)
// CHECK:STDOUT: !28 = !DISubroutineType(types: !29)
// CHECK:STDOUT: !29 = !{null, !30}
// CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
// CHECK:STDOUT: !31 = !{!32}
// CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30)
// CHECK:STDOUT: !33 = !DILocation(line: 48, column: 3, scope: !27)
// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.5bd8d5767580997a", scope: null, file: !1, line: 21, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !37)
// CHECK:STDOUT: !33 = !DILocation(line: 49, column: 3, scope: !27)
// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.5bd8d5767580997a", scope: null, file: !1, line: 22, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !37)
// CHECK:STDOUT: !35 = !DISubroutineType(types: !36)
// CHECK:STDOUT: !36 = !{!30, !30, !30}
// CHECK:STDOUT: !37 = !{!38, !39}
// CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !34, type: !30)
// CHECK:STDOUT: !39 = !DILocalVariable(arg: 2, scope: !34, type: !30)
// CHECK:STDOUT: !40 = !DILocation(line: 22, column: 7, scope: !34)
// CHECK:STDOUT: !41 = !DILocation(line: 22, column: 6, scope: !34)
// CHECK:STDOUT: !42 = !DILocation(line: 23, column: 5, scope: !34)
// CHECK:STDOUT: !43 = !DILocation(line: 25, column: 7, scope: !34)
// CHECK:STDOUT: !44 = !DILocation(line: 25, column: 6, scope: !34)
// CHECK:STDOUT: !45 = !DILocation(line: 26, column: 12, scope: !34)
// CHECK:STDOUT: !46 = !DILocation(line: 26, column: 5, scope: !34)
// CHECK:STDOUT: !47 = !DILocation(line: 28, column: 12, scope: !34)
// CHECK:STDOUT: !48 = !DILocation(line: 28, column: 5, scope: !34)
// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c27b765f2159c9a0", scope: null, file: !1, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !52)
// CHECK:STDOUT: !40 = !DILocation(line: 23, column: 7, scope: !34)
// CHECK:STDOUT: !41 = !DILocation(line: 23, column: 6, scope: !34)
// CHECK:STDOUT: !42 = !DILocation(line: 24, column: 5, scope: !34)
// CHECK:STDOUT: !43 = !DILocation(line: 26, column: 7, scope: !34)
// CHECK:STDOUT: !44 = !DILocation(line: 26, column: 6, scope: !34)
// CHECK:STDOUT: !45 = !DILocation(line: 27, column: 12, scope: !34)
// CHECK:STDOUT: !46 = !DILocation(line: 27, column: 5, scope: !34)
// CHECK:STDOUT: !47 = !DILocation(line: 29, column: 12, scope: !34)
// CHECK:STDOUT: !48 = !DILocation(line: 29, column: 5, scope: !34)
// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c27b765f2159c9a0", scope: null, file: !1, line: 22, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !52)
// CHECK:STDOUT: !50 = !DISubroutineType(types: !51)
// CHECK:STDOUT: !51 = !{!23, !23, !30}
// CHECK:STDOUT: !52 = !{!53, !54}
// CHECK:STDOUT: !53 = !DILocalVariable(arg: 1, scope: !49, type: !23)
// CHECK:STDOUT: !54 = !DILocalVariable(arg: 2, scope: !49, type: !30)
// CHECK:STDOUT: !55 = !DILocation(line: 22, column: 7, scope: !49)
// CHECK:STDOUT: !56 = !DILocation(line: 22, column: 6, scope: !49)
// CHECK:STDOUT: !57 = !DILocation(line: 23, column: 5, scope: !49)
// CHECK:STDOUT: !58 = !DILocation(line: 25, column: 7, scope: !49)
// CHECK:STDOUT: !59 = !DILocation(line: 25, column: 6, scope: !49)
// CHECK:STDOUT: !60 = !DILocation(line: 26, column: 12, scope: !49)
// CHECK:STDOUT: !61 = !DILocation(line: 26, column: 5, scope: !49)
// CHECK:STDOUT: !62 = !DILocation(line: 28, column: 12, scope: !49)
// CHECK:STDOUT: !63 = !DILocation(line: 28, column: 5, scope: !49)
// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.2621742a01881e29", scope: null, file: !1, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !65)
// CHECK:STDOUT: !55 = !DILocation(line: 23, column: 7, scope: !49)
// CHECK:STDOUT: !56 = !DILocation(line: 23, column: 6, scope: !49)
// CHECK:STDOUT: !57 = !DILocation(line: 24, column: 5, scope: !49)
// CHECK:STDOUT: !58 = !DILocation(line: 26, column: 7, scope: !49)
// CHECK:STDOUT: !59 = !DILocation(line: 26, column: 6, scope: !49)
// CHECK:STDOUT: !60 = !DILocation(line: 27, column: 12, scope: !49)
// CHECK:STDOUT: !61 = !DILocation(line: 27, column: 5, scope: !49)
// CHECK:STDOUT: !62 = !DILocation(line: 29, column: 12, scope: !49)
// CHECK:STDOUT: !63 = !DILocation(line: 29, column: 5, scope: !49)
// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.2621742a01881e29", scope: null, file: !1, line: 22, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !65)
// CHECK:STDOUT: !65 = !{!66, !67}
// CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !23)
// CHECK:STDOUT: !67 = !DILocalVariable(arg: 2, scope: !64, type: !30)
// CHECK:STDOUT: !68 = !DILocation(line: 22, column: 7, scope: !64)
// CHECK:STDOUT: !69 = !DILocation(line: 22, column: 6, scope: !64)
// CHECK:STDOUT: !70 = !DILocation(line: 23, column: 5, scope: !64)
// CHECK:STDOUT: !71 = !DILocation(line: 25, column: 7, scope: !64)
// CHECK:STDOUT: !72 = !DILocation(line: 25, column: 6, scope: !64)
// CHECK:STDOUT: !73 = !DILocation(line: 26, column: 12, scope: !64)
// CHECK:STDOUT: !74 = !DILocation(line: 26, column: 5, scope: !64)
// CHECK:STDOUT: !75 = !DILocation(line: 28, column: 12, scope: !64)
// CHECK:STDOUT: !76 = !DILocation(line: 28, column: 5, scope: !64)
// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.5bd8d5767580997a", scope: null, file: !1, line: 33, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !78)
// CHECK:STDOUT: !68 = !DILocation(line: 23, column: 7, scope: !64)
// CHECK:STDOUT: !69 = !DILocation(line: 23, column: 6, scope: !64)
// CHECK:STDOUT: !70 = !DILocation(line: 24, column: 5, scope: !64)
// CHECK:STDOUT: !71 = !DILocation(line: 26, column: 7, scope: !64)
// CHECK:STDOUT: !72 = !DILocation(line: 26, column: 6, scope: !64)
// CHECK:STDOUT: !73 = !DILocation(line: 27, column: 12, scope: !64)
// CHECK:STDOUT: !74 = !DILocation(line: 27, column: 5, scope: !64)
// CHECK:STDOUT: !75 = !DILocation(line: 29, column: 12, scope: !64)
// CHECK:STDOUT: !76 = !DILocation(line: 29, column: 5, scope: !64)
// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.5bd8d5767580997a", scope: null, file: !1, line: 34, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !78)
// CHECK:STDOUT: !78 = !{!79, !80}
// CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !30)
// CHECK:STDOUT: !80 = !DILocalVariable(arg: 2, scope: !77, type: !30)
// CHECK:STDOUT: !81 = !DILocation(line: 34, column: 3, scope: !77)
// CHECK:STDOUT: !82 = !DILocation(line: 35, column: 10, scope: !77)
// CHECK:STDOUT: !83 = !DILocation(line: 35, column: 3, scope: !77)
// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.5bd8d5767580997a", scope: null, file: !1, line: 38, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !85)
// CHECK:STDOUT: !81 = !DILocation(line: 35, column: 3, scope: !77)
// CHECK:STDOUT: !82 = !DILocation(line: 36, column: 10, scope: !77)
// CHECK:STDOUT: !83 = !DILocation(line: 36, column: 3, scope: !77)
// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.5bd8d5767580997a", scope: null, file: !1, line: 39, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !85)
// CHECK:STDOUT: !85 = !{!86, !87}
// CHECK:STDOUT: !86 = !DILocalVariable(arg: 1, scope: !84, type: !30)
// CHECK:STDOUT: !87 = !DILocalVariable(arg: 2, scope: !84, type: !30)
// CHECK:STDOUT: !88 = !DILocation(line: 39, column: 3, scope: !84)
// CHECK:STDOUT: !89 = !DILocation(line: 40, column: 10, scope: !84)
// CHECK:STDOUT: !90 = !DILocation(line: 40, column: 3, scope: !84)
// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c27b765f2159c9a0", scope: null, file: !1, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !92)
// CHECK:STDOUT: !88 = !DILocation(line: 40, column: 3, scope: !84)
// CHECK:STDOUT: !89 = !DILocation(line: 41, column: 10, scope: !84)
// CHECK:STDOUT: !90 = !DILocation(line: 41, column: 3, scope: !84)
// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c27b765f2159c9a0", scope: null, file: !1, line: 34, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !92)
// CHECK:STDOUT: !92 = !{!93, !94}
// CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !91, type: !23)
// CHECK:STDOUT: !94 = !DILocalVariable(arg: 2, scope: !91, type: !30)
// CHECK:STDOUT: !95 = !DILocation(line: 34, column: 3, scope: !91)
// CHECK:STDOUT: !96 = !DILocation(line: 35, column: 10, scope: !91)
// CHECK:STDOUT: !97 = !DILocation(line: 35, column: 3, scope: !91)
// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c27b765f2159c9a0", scope: null, file: !1, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !99)
// CHECK:STDOUT: !95 = !DILocation(line: 35, column: 3, scope: !91)
// CHECK:STDOUT: !96 = !DILocation(line: 36, column: 10, scope: !91)
// CHECK:STDOUT: !97 = !DILocation(line: 36, column: 3, scope: !91)
// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c27b765f2159c9a0", scope: null, file: !1, line: 39, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !99)
// CHECK:STDOUT: !99 = !{!100, !101}
// CHECK:STDOUT: !100 = !DILocalVariable(arg: 1, scope: !98, type: !23)
// CHECK:STDOUT: !101 = !DILocalVariable(arg: 2, scope: !98, type: !30)
// CHECK:STDOUT: !102 = !DILocation(line: 39, column: 3, scope: !98)
// CHECK:STDOUT: !103 = !DILocation(line: 40, column: 10, scope: !98)
// CHECK:STDOUT: !104 = !DILocation(line: 40, column: 3, scope: !98)
// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.2621742a01881e29", scope: null, file: !1, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !106)
// CHECK:STDOUT: !102 = !DILocation(line: 40, column: 3, scope: !98)
// CHECK:STDOUT: !103 = !DILocation(line: 41, column: 10, scope: !98)
// CHECK:STDOUT: !104 = !DILocation(line: 41, column: 3, scope: !98)
// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.2621742a01881e29", scope: null, file: !1, line: 34, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !106)
// CHECK:STDOUT: !106 = !{!107, !108}
// CHECK:STDOUT: !107 = !DILocalVariable(arg: 1, scope: !105, type: !23)
// CHECK:STDOUT: !108 = !DILocalVariable(arg: 2, scope: !105, type: !30)
// CHECK:STDOUT: !109 = !DILocation(line: 34, column: 3, scope: !105)
// CHECK:STDOUT: !110 = !DILocation(line: 35, column: 10, scope: !105)
// CHECK:STDOUT: !111 = !DILocation(line: 35, column: 3, scope: !105)
// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.2621742a01881e29", scope: null, file: !1, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !113)
// CHECK:STDOUT: !109 = !DILocation(line: 35, column: 3, scope: !105)
// CHECK:STDOUT: !110 = !DILocation(line: 36, column: 10, scope: !105)
// CHECK:STDOUT: !111 = !DILocation(line: 36, column: 3, scope: !105)
// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.2621742a01881e29", scope: null, file: !1, line: 39, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !113)
// CHECK:STDOUT: !113 = !{!114, !115}
// CHECK:STDOUT: !114 = !DILocalVariable(arg: 1, scope: !112, type: !23)
// CHECK:STDOUT: !115 = !DILocalVariable(arg: 2, scope: !112, type: !30)
// CHECK:STDOUT: !116 = !DILocation(line: 39, column: 3, scope: !112)
// CHECK:STDOUT: !117 = !DILocation(line: 40, column: 10, scope: !112)
// CHECK:STDOUT: !118 = !DILocation(line: 40, column: 3, scope: !112)
// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.5bd8d5767580997a", scope: null, file: !1, line: 43, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !120)
// CHECK:STDOUT: !116 = !DILocation(line: 40, column: 3, scope: !112)
// CHECK:STDOUT: !117 = !DILocation(line: 41, column: 10, scope: !112)
// CHECK:STDOUT: !118 = !DILocation(line: 41, column: 3, scope: !112)
// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.5bd8d5767580997a", scope: null, file: !1, line: 44, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !120)
// CHECK:STDOUT: !120 = !{!121, !122}
// CHECK:STDOUT: !121 = !DILocalVariable(arg: 1, scope: !119, type: !30)
// CHECK:STDOUT: !122 = !DILocalVariable(arg: 2, scope: !119, type: !30)
// CHECK:STDOUT: !123 = !DILocation(line: 44, column: 15, scope: !119)
// CHECK:STDOUT: !124 = !DILocation(line: 44, column: 10, scope: !119)
// CHECK:STDOUT: !125 = !DILocation(line: 44, column: 3, scope: !119)
// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c27b765f2159c9a0", scope: null, file: !1, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !127)
// CHECK:STDOUT: !123 = !DILocation(line: 45, column: 15, scope: !119)
// CHECK:STDOUT: !124 = !DILocation(line: 45, column: 10, scope: !119)
// CHECK:STDOUT: !125 = !DILocation(line: 45, column: 3, scope: !119)
// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c27b765f2159c9a0", scope: null, file: !1, line: 44, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !127)
// CHECK:STDOUT: !127 = !{!128, !129}
// CHECK:STDOUT: !128 = !DILocalVariable(arg: 1, scope: !126, type: !23)
// CHECK:STDOUT: !129 = !DILocalVariable(arg: 2, scope: !126, type: !30)
// CHECK:STDOUT: !130 = !DILocation(line: 44, column: 15, scope: !126)
// CHECK:STDOUT: !131 = !DILocation(line: 44, column: 10, scope: !126)
// CHECK:STDOUT: !132 = !DILocation(line: 44, column: 3, scope: !126)
// CHECK:STDOUT: !133 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.2621742a01881e29", scope: null, file: !1, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !134)
// CHECK:STDOUT: !130 = !DILocation(line: 45, column: 15, scope: !126)
// CHECK:STDOUT: !131 = !DILocation(line: 45, column: 10, scope: !126)
// CHECK:STDOUT: !132 = !DILocation(line: 45, column: 3, scope: !126)
// CHECK:STDOUT: !133 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.2621742a01881e29", scope: null, file: !1, line: 44, type: !50, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !134)
// CHECK:STDOUT: !134 = !{!135, !136}
// CHECK:STDOUT: !135 = !DILocalVariable(arg: 1, scope: !133, type: !23)
// CHECK:STDOUT: !136 = !DILocalVariable(arg: 2, scope: !133, type: !30)
// CHECK:STDOUT: !137 = !DILocation(line: 44, column: 15, scope: !133)
// CHECK:STDOUT: !138 = !DILocation(line: 44, column: 10, scope: !133)
// CHECK:STDOUT: !139 = !DILocation(line: 44, column: 3, scope: !133)
// CHECK:STDOUT: !137 = !DILocation(line: 45, column: 15, scope: !133)
// CHECK:STDOUT: !138 = !DILocation(line: 45, column: 10, scope: !133)
// CHECK:STDOUT: !139 = !DILocation(line: 45, column: 3, scope: !133)
// CHECK:STDOUT:
@@ -2,6 +2,7 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// EXTRA-ARGS: --include-carbon-core
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
//
// AUTOUPDATE
@@ -64,8 +65,8 @@ fn Run() {
// CHECK:STDOUT: ; Function Attrs: nounwind
// CHECK:STDOUT: define i32 @main() #0 !dbg !12 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %G.call.loc40 = call i32 @_CG.Main.c81631f865470482(i32 0), !dbg !16
// CHECK:STDOUT: %G.call.loc41 = call i32 @_CG.Main.0b241ec84a68877b(i32 0), !dbg !17
// CHECK:STDOUT: %G.call.loc41 = call i32 @_CG.Main.c81631f865470482(i32 0), !dbg !16
// CHECK:STDOUT: %G.call.loc42 = call i32 @_CG.Main.0b241ec84a68877b(i32 0), !dbg !17
// CHECK:STDOUT: ret i32 0, !dbg !18
// CHECK:STDOUT: }
// CHECK:STDOUT:
@@ -115,41 +116,41 @@ fn Run() {
// CHECK:STDOUT: !1 = !DIFile(filename: "call_recursive_impl.carbon", directory: "")
// CHECK:STDOUT: !2 = !{i32 7, !"Dwarf Version", i32 5}
// CHECK:STDOUT: !3 = !{i32 2, !"Debug Info Version", i32 3}
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.X.Main:I.Main", scope: null, file: !1, line: 21, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !5 = !DISubroutineType(types: !6)
// CHECK:STDOUT: !6 = !{null}
// CHECK:STDOUT: !7 = !DILocation(line: 20, column: 12, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 20, column: 3, scope: !4)
// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !10 = !DILocation(line: 24, column: 12, scope: !9)
// CHECK:STDOUT: !11 = !DILocation(line: 24, column: 3, scope: !9)
// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 39, type: !13, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !7 = !DILocation(line: 21, column: 12, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 21, column: 3, scope: !4)
// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "F", linkageName: "_CF.Y.Main:I.Main", scope: null, file: !1, line: 25, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !10 = !DILocation(line: 25, column: 12, scope: !9)
// CHECK:STDOUT: !11 = !DILocation(line: 25, column: 3, scope: !9)
// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Run", linkageName: "main", scope: null, file: !1, line: 40, type: !13, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !13 = !DISubroutineType(types: !14)
// CHECK:STDOUT: !14 = !{!15}
// CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
// CHECK:STDOUT: !16 = !DILocation(line: 40, column: 3, scope: !12)
// CHECK:STDOUT: !17 = !DILocation(line: 41, column: 3, scope: !12)
// CHECK:STDOUT: !18 = !DILocation(line: 39, column: 1, scope: !12)
// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c81631f865470482", scope: null, file: !1, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !22)
// CHECK:STDOUT: !16 = !DILocation(line: 41, column: 3, scope: !12)
// CHECK:STDOUT: !17 = !DILocation(line: 42, column: 3, scope: !12)
// CHECK:STDOUT: !18 = !DILocation(line: 40, column: 1, scope: !12)
// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c81631f865470482", scope: null, file: !1, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !22)
// CHECK:STDOUT: !20 = !DISubroutineType(types: !21)
// CHECK:STDOUT: !21 = !{!15, !15}
// CHECK:STDOUT: !22 = !{!23}
// CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !19, type: !15)
// CHECK:STDOUT: !24 = !DILocation(line: 31, column: 3, scope: !19)
// CHECK:STDOUT: !25 = !DILocation(line: 33, column: 7, scope: !19)
// CHECK:STDOUT: !26 = !DILocation(line: 33, column: 6, scope: !19)
// CHECK:STDOUT: !27 = !DILocation(line: 34, column: 5, scope: !19)
// CHECK:STDOUT: !28 = !DILocation(line: 36, column: 15, scope: !19)
// CHECK:STDOUT: !29 = !DILocation(line: 36, column: 10, scope: !19)
// CHECK:STDOUT: !30 = !DILocation(line: 36, column: 3, scope: !19)
// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.0b241ec84a68877b", scope: null, file: !1, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !32)
// CHECK:STDOUT: !24 = !DILocation(line: 32, column: 3, scope: !19)
// CHECK:STDOUT: !25 = !DILocation(line: 34, column: 7, scope: !19)
// CHECK:STDOUT: !26 = !DILocation(line: 34, column: 6, scope: !19)
// CHECK:STDOUT: !27 = !DILocation(line: 35, column: 5, scope: !19)
// CHECK:STDOUT: !28 = !DILocation(line: 37, column: 15, scope: !19)
// CHECK:STDOUT: !29 = !DILocation(line: 37, column: 10, scope: !19)
// CHECK:STDOUT: !30 = !DILocation(line: 37, column: 3, scope: !19)
// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.0b241ec84a68877b", scope: null, file: !1, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !32)
// CHECK:STDOUT: !32 = !{!33}
// CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !31, type: !15)
// CHECK:STDOUT: !34 = !DILocation(line: 31, column: 3, scope: !31)
// CHECK:STDOUT: !35 = !DILocation(line: 33, column: 7, scope: !31)
// CHECK:STDOUT: !36 = !DILocation(line: 33, column: 6, scope: !31)
// CHECK:STDOUT: !37 = !DILocation(line: 34, column: 5, scope: !31)
// CHECK:STDOUT: !38 = !DILocation(line: 36, column: 15, scope: !31)
// CHECK:STDOUT: !39 = !DILocation(line: 36, column: 10, scope: !31)
// CHECK:STDOUT: !40 = !DILocation(line: 36, column: 3, scope: !31)
// CHECK:STDOUT: !34 = !DILocation(line: 32, column: 3, scope: !31)
// CHECK:STDOUT: !35 = !DILocation(line: 34, column: 7, scope: !31)
// CHECK:STDOUT: !36 = !DILocation(line: 34, column: 6, scope: !31)
// CHECK:STDOUT: !37 = !DILocation(line: 35, column: 5, scope: !31)
// CHECK:STDOUT: !38 = !DILocation(line: 37, column: 15, scope: !31)
// CHECK:STDOUT: !39 = !DILocation(line: 37, column: 10, scope: !31)
// CHECK:STDOUT: !40 = !DILocation(line: 37, column: 3, scope: !31)
// CHECK:STDOUT:
@@ -2,6 +2,7 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// EXTRA-ARGS: --include-carbon-core
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
//
// AUTOUPDATE
@@ -103,14 +104,14 @@ fn M() {
// CHECK:STDOUT: store ptr %n.var, ptr %ptr_i32.var, align 8, !dbg !9
// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !10
// CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !10
// CHECK:STDOUT: %.loc79_5 = load i32, ptr %n.var, align 4, !dbg !11
// CHECK:STDOUT: %A.call.loc79 = call i32 @_CA.Main.5bd8d5767580997a(i32 %.loc79_5, i32 0), !dbg !12
// CHECK:STDOUT: %.loc80_5 = load double, ptr %m.var, align 8, !dbg !13
// CHECK:STDOUT: %A.call.loc80 = call double @_CA.Main.c27b765f2159c9a0(double %.loc80_5, i32 0), !dbg !14
// CHECK:STDOUT: %.loc81_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15
// CHECK:STDOUT: %A.call.loc81 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc81_5, i32 0), !dbg !16
// CHECK:STDOUT: %.loc82_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17
// CHECK:STDOUT: %A.call.loc82 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc82_5, i32 0), !dbg !18
// CHECK:STDOUT: %.loc80_5 = load i32, ptr %n.var, align 4, !dbg !11
// CHECK:STDOUT: %A.call.loc80 = call i32 @_CA.Main.5bd8d5767580997a(i32 %.loc80_5, i32 0), !dbg !12
// CHECK:STDOUT: %.loc81_5 = load double, ptr %m.var, align 8, !dbg !13
// CHECK:STDOUT: %A.call.loc81 = call double @_CA.Main.c27b765f2159c9a0(double %.loc81_5, i32 0), !dbg !14
// CHECK:STDOUT: %.loc82_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15
// CHECK:STDOUT: %A.call.loc82 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc82_5, i32 0), !dbg !16
// CHECK:STDOUT: %.loc83_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17
// CHECK:STDOUT: %A.call.loc83 = call ptr @_CA.Main.2621742a01881e29(ptr %.loc83_5, i32 0), !dbg !18
// CHECK:STDOUT: call void @"_COp.30d8007fdcc57f83:core.Destroy.Core"(ptr %m.var), !dbg !8
// CHECK:STDOUT: call void @"_COp.5e27612b9dd31a14:core.Destroy.Core"(ptr %n.var), !dbg !7
// CHECK:STDOUT: ret void, !dbg !19
@@ -166,21 +167,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.5bd8d5767580997a(i32 %x, i32 %count) #0 !dbg !67 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !71
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !72
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc49, label %if.else.loc49, !dbg !72
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc48: ; preds = %entry
// CHECK:STDOUT: if.then.loc49: ; preds = %entry
// CHECK:STDOUT: ret i32 %x, !dbg !73
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc48: ; preds = %entry
// CHECK:STDOUT: if.else.loc49: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !74
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !74
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !75
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc52, label %if.else.loc52, !dbg !75
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.then.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %E.call = call i32 @_CE.Main.5bd8d5767580997a(i32 %x, i32 %count), !dbg !76
// CHECK:STDOUT: ret i32 %E.call, !dbg !77
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.else.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %F.call = call i32 @_CF.Main.5bd8d5767580997a(i32 %x, i32 %count), !dbg !78
// CHECK:STDOUT: ret i32 %F.call, !dbg !79
// CHECK:STDOUT: }
@@ -196,21 +197,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr double @_CD.Main.c27b765f2159c9a0(double %x, i32 %count) #0 !dbg !88 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !92
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !93
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc49, label %if.else.loc49, !dbg !93
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc48: ; preds = %entry
// CHECK:STDOUT: if.then.loc49: ; preds = %entry
// CHECK:STDOUT: ret double %x, !dbg !94
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc48: ; preds = %entry
// CHECK:STDOUT: if.else.loc49: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !95
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !95
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !96
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc52, label %if.else.loc52, !dbg !96
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.then.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %E.call = call double @_CE.Main.c27b765f2159c9a0(double %x, i32 %count), !dbg !97
// CHECK:STDOUT: ret double %E.call, !dbg !98
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.else.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %F.call = call double @_CF.Main.c27b765f2159c9a0(double %x, i32 %count), !dbg !99
// CHECK:STDOUT: ret double %F.call, !dbg !100
// CHECK:STDOUT: }
@@ -226,21 +227,21 @@ fn M() {
// CHECK:STDOUT: define linkonce_odr ptr @_CD.Main.2621742a01881e29(ptr %x, i32 %count) #0 !dbg !107 {
// CHECK:STDOUT: entry:
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !111
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !112
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc49, label %if.else.loc49, !dbg !112
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc48: ; preds = %entry
// CHECK:STDOUT: if.then.loc49: ; preds = %entry
// CHECK:STDOUT: ret ptr %x, !dbg !113
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc48: ; preds = %entry
// CHECK:STDOUT: if.else.loc49: ; preds = %entry
// CHECK:STDOUT: %Int.as.ModWith.impl.Op.call = srem i32 %count, 2, !dbg !114
// CHECK:STDOUT: %Int.as.EqWith.impl.Equal.call = icmp eq i32 %Int.as.ModWith.impl.Op.call, 0, !dbg !114
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !115
// CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc52, label %if.else.loc52, !dbg !115
// CHECK:STDOUT:
// CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.then.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %E.call = call ptr @_CE.Main.2621742a01881e29(ptr %x, i32 %count), !dbg !116
// CHECK:STDOUT: ret ptr %E.call, !dbg !117
// CHECK:STDOUT:
// CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48
// CHECK:STDOUT: if.else.loc52: ; preds = %if.else.loc49
// CHECK:STDOUT: %F.call = call ptr @_CF.Main.2621742a01881e29(ptr %x, i32 %count), !dbg !118
// CHECK:STDOUT: ret ptr %F.call, !dbg !119
// CHECK:STDOUT: }
@@ -379,210 +380,210 @@ fn M() {
// CHECK:STDOUT: !1 = !DIFile(filename: "call_recursive_sccs_deep.carbon", directory: "")
// CHECK:STDOUT: !2 = !{i32 7, !"Dwarf Version", i32 5}
// CHECK:STDOUT: !3 = !{i32 2, !"Debug Info Version", i32 3}
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "M", linkageName: "_CM.Main", scope: null, file: !1, line: 73, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "M", linkageName: "_CM.Main", scope: null, file: !1, line: 74, type: !5, spFlags: DISPFlagDefinition, unit: !0)
// CHECK:STDOUT: !5 = !DISubroutineType(types: !6)
// CHECK:STDOUT: !6 = !{null}
// CHECK:STDOUT: !7 = !DILocation(line: 74, column: 3, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 75, column: 3, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 76, column: 3, scope: !4)
// CHECK:STDOUT: !10 = !DILocation(line: 77, column: 3, scope: !4)
// CHECK:STDOUT: !11 = !DILocation(line: 79, column: 5, scope: !4)
// CHECK:STDOUT: !12 = !DILocation(line: 79, column: 3, scope: !4)
// CHECK:STDOUT: !13 = !DILocation(line: 80, column: 5, scope: !4)
// CHECK:STDOUT: !14 = !DILocation(line: 80, column: 3, scope: !4)
// CHECK:STDOUT: !15 = !DILocation(line: 81, column: 5, scope: !4)
// CHECK:STDOUT: !16 = !DILocation(line: 81, column: 3, scope: !4)
// CHECK:STDOUT: !17 = !DILocation(line: 82, column: 5, scope: !4)
// CHECK:STDOUT: !18 = !DILocation(line: 82, column: 3, scope: !4)
// CHECK:STDOUT: !19 = !DILocation(line: 73, column: 1, scope: !4)
// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.30d8007fdcc57f83:core.Destroy.Core", scope: null, file: !1, line: 75, type: !21, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !24)
// CHECK:STDOUT: !7 = !DILocation(line: 75, column: 3, scope: !4)
// CHECK:STDOUT: !8 = !DILocation(line: 76, column: 3, scope: !4)
// CHECK:STDOUT: !9 = !DILocation(line: 77, column: 3, scope: !4)
// CHECK:STDOUT: !10 = !DILocation(line: 78, column: 3, scope: !4)
// CHECK:STDOUT: !11 = !DILocation(line: 80, column: 5, scope: !4)
// CHECK:STDOUT: !12 = !DILocation(line: 80, column: 3, scope: !4)
// CHECK:STDOUT: !13 = !DILocation(line: 81, column: 5, scope: !4)
// CHECK:STDOUT: !14 = !DILocation(line: 81, column: 3, scope: !4)
// CHECK:STDOUT: !15 = !DILocation(line: 82, column: 5, scope: !4)
// CHECK:STDOUT: !16 = !DILocation(line: 82, column: 3, scope: !4)
// CHECK:STDOUT: !17 = !DILocation(line: 83, column: 5, scope: !4)
// CHECK:STDOUT: !18 = !DILocation(line: 83, column: 3, scope: !4)
// CHECK:STDOUT: !19 = !DILocation(line: 74, column: 1, scope: !4)
// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.30d8007fdcc57f83:core.Destroy.Core", scope: null, file: !1, line: 76, type: !21, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !24)
// CHECK:STDOUT: !21 = !DISubroutineType(types: !22)
// CHECK:STDOUT: !22 = !{null, !23}
// CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64)
// CHECK:STDOUT: !24 = !{!25}
// CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23)
// CHECK:STDOUT: !26 = !DILocation(line: 75, column: 3, scope: !20)
// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 74, type: !28, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !31)
// CHECK:STDOUT: !26 = !DILocation(line: 76, column: 3, scope: !20)
// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e27612b9dd31a14:core.Destroy.Core", scope: null, file: !1, line: 75, type: !28, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !31)
// CHECK:STDOUT: !28 = !DISubroutineType(types: !29)
// CHECK:STDOUT: !29 = !{null, !30}
// CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
// CHECK:STDOUT: !31 = !{!32}
// CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30)
// CHECK:STDOUT: !33 = !DILocation(line: 74, column: 3, scope: !27)
// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.5bd8d5767580997a", scope: null, file: !1, line: 31, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !37)
// CHECK:STDOUT: !33 = !DILocation(line: 75, column: 3, scope: !27)
// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.5bd8d5767580997a", scope: null, file: !1, line: 32, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !37)
// CHECK:STDOUT: !35 = !DISubroutineType(types: !36)
// CHECK:STDOUT: !36 = !{!30, !30, !30}
// CHECK:STDOUT: !37 = !{!38, !39}
// CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !34, type: !30)
// CHECK:STDOUT: !39 = !DILocalVariable(arg: 2, scope: !34, type: !30)
// CHECK:STDOUT: !40 = !DILocation(line: 32, column: 3, scope: !34)
// CHECK:STDOUT: !41 = !DILocation(line: 33, column: 10, scope: !34)
// CHECK:STDOUT: !42 = !DILocation(line: 33, column: 3, scope: !34)
// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c27b765f2159c9a0", scope: null, file: !1, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !46)
// CHECK:STDOUT: !40 = !DILocation(line: 33, column: 3, scope: !34)
// CHECK:STDOUT: !41 = !DILocation(line: 34, column: 10, scope: !34)
// CHECK:STDOUT: !42 = !DILocation(line: 34, column: 3, scope: !34)
// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c27b765f2159c9a0", scope: null, file: !1, line: 32, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !46)
// CHECK:STDOUT: !44 = !DISubroutineType(types: !45)
// CHECK:STDOUT: !45 = !{!23, !23, !30}
// CHECK:STDOUT: !46 = !{!47, !48}
// CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !43, type: !23)
// CHECK:STDOUT: !48 = !DILocalVariable(arg: 2, scope: !43, type: !30)
// CHECK:STDOUT: !49 = !DILocation(line: 32, column: 3, scope: !43)
// CHECK:STDOUT: !50 = !DILocation(line: 33, column: 10, scope: !43)
// CHECK:STDOUT: !51 = !DILocation(line: 33, column: 3, scope: !43)
// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.2621742a01881e29", scope: null, file: !1, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !53)
// CHECK:STDOUT: !49 = !DILocation(line: 33, column: 3, scope: !43)
// CHECK:STDOUT: !50 = !DILocation(line: 34, column: 10, scope: !43)
// CHECK:STDOUT: !51 = !DILocation(line: 34, column: 3, scope: !43)
// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.2621742a01881e29", scope: null, file: !1, line: 32, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !53)
// CHECK:STDOUT: !53 = !{!54, !55}
// CHECK:STDOUT: !54 = !DILocalVariable(arg: 1, scope: !52, type: !23)
// CHECK:STDOUT: !55 = !DILocalVariable(arg: 2, scope: !52, type: !30)
// CHECK:STDOUT: !56 = !DILocation(line: 32, column: 3, scope: !52)
// CHECK:STDOUT: !57 = !DILocation(line: 33, column: 10, scope: !52)
// CHECK:STDOUT: !58 = !DILocation(line: 33, column: 3, scope: !52)
// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.5bd8d5767580997a", scope: null, file: !1, line: 36, type: !60, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !62)
// CHECK:STDOUT: !56 = !DILocation(line: 33, column: 3, scope: !52)
// CHECK:STDOUT: !57 = !DILocation(line: 34, column: 10, scope: !52)
// CHECK:STDOUT: !58 = !DILocation(line: 34, column: 3, scope: !52)
// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.5bd8d5767580997a", scope: null, file: !1, line: 37, type: !60, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !62)
// CHECK:STDOUT: !60 = !DISubroutineType(types: !61)
// CHECK:STDOUT: !61 = !{null, !30, !30}
// CHECK:STDOUT: !62 = !{!63, !64}
// CHECK:STDOUT: !63 = !DILocalVariable(arg: 1, scope: !59, type: !30)
// CHECK:STDOUT: !64 = !DILocalVariable(arg: 2, scope: !59, type: !30)
// CHECK:STDOUT: !65 = !DILocation(line: 37, column: 3, scope: !59)
// CHECK:STDOUT: !66 = !DILocation(line: 36, column: 1, scope: !59)
// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.5bd8d5767580997a", scope: null, file: !1, line: 47, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !68)
// CHECK:STDOUT: !65 = !DILocation(line: 38, column: 3, scope: !59)
// CHECK:STDOUT: !66 = !DILocation(line: 37, column: 1, scope: !59)
// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.5bd8d5767580997a", scope: null, file: !1, line: 48, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !68)
// CHECK:STDOUT: !68 = !{!69, !70}
// CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !30)
// CHECK:STDOUT: !70 = !DILocalVariable(arg: 2, scope: !67, type: !30)
// CHECK:STDOUT: !71 = !DILocation(line: 48, column: 7, scope: !67)
// CHECK:STDOUT: !72 = !DILocation(line: 48, column: 6, scope: !67)
// CHECK:STDOUT: !73 = !DILocation(line: 49, column: 5, scope: !67)
// CHECK:STDOUT: !74 = !DILocation(line: 51, column: 7, scope: !67)
// CHECK:STDOUT: !75 = !DILocation(line: 51, column: 6, scope: !67)
// CHECK:STDOUT: !76 = !DILocation(line: 52, column: 12, scope: !67)
// CHECK:STDOUT: !77 = !DILocation(line: 52, column: 5, scope: !67)
// CHECK:STDOUT: !78 = !DILocation(line: 54, column: 12, scope: !67)
// CHECK:STDOUT: !79 = !DILocation(line: 54, column: 5, scope: !67)
// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c27b765f2159c9a0", scope: null, file: !1, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !83)
// CHECK:STDOUT: !71 = !DILocation(line: 49, column: 7, scope: !67)
// CHECK:STDOUT: !72 = !DILocation(line: 49, column: 6, scope: !67)
// CHECK:STDOUT: !73 = !DILocation(line: 50, column: 5, scope: !67)
// CHECK:STDOUT: !74 = !DILocation(line: 52, column: 7, scope: !67)
// CHECK:STDOUT: !75 = !DILocation(line: 52, column: 6, scope: !67)
// CHECK:STDOUT: !76 = !DILocation(line: 53, column: 12, scope: !67)
// CHECK:STDOUT: !77 = !DILocation(line: 53, column: 5, scope: !67)
// CHECK:STDOUT: !78 = !DILocation(line: 55, column: 12, scope: !67)
// CHECK:STDOUT: !79 = !DILocation(line: 55, column: 5, scope: !67)
// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c27b765f2159c9a0", scope: null, file: !1, line: 37, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !83)
// CHECK:STDOUT: !81 = !DISubroutineType(types: !82)
// CHECK:STDOUT: !82 = !{null, !23, !30}
// CHECK:STDOUT: !83 = !{!84, !85}
// CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !80, type: !23)
// CHECK:STDOUT: !85 = !DILocalVariable(arg: 2, scope: !80, type: !30)
// CHECK:STDOUT: !86 = !DILocation(line: 37, column: 3, scope: !80)
// CHECK:STDOUT: !87 = !DILocation(line: 36, column: 1, scope: !80)
// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c27b765f2159c9a0", scope: null, file: !1, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !89)
// CHECK:STDOUT: !86 = !DILocation(line: 38, column: 3, scope: !80)
// CHECK:STDOUT: !87 = !DILocation(line: 37, column: 1, scope: !80)
// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c27b765f2159c9a0", scope: null, file: !1, line: 48, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !89)
// CHECK:STDOUT: !89 = !{!90, !91}
// CHECK:STDOUT: !90 = !DILocalVariable(arg: 1, scope: !88, type: !23)
// CHECK:STDOUT: !91 = !DILocalVariable(arg: 2, scope: !88, type: !30)
// CHECK:STDOUT: !92 = !DILocation(line: 48, column: 7, scope: !88)
// CHECK:STDOUT: !93 = !DILocation(line: 48, column: 6, scope: !88)
// CHECK:STDOUT: !94 = !DILocation(line: 49, column: 5, scope: !88)
// CHECK:STDOUT: !95 = !DILocation(line: 51, column: 7, scope: !88)
// CHECK:STDOUT: !96 = !DILocation(line: 51, column: 6, scope: !88)
// CHECK:STDOUT: !97 = !DILocation(line: 52, column: 12, scope: !88)
// CHECK:STDOUT: !98 = !DILocation(line: 52, column: 5, scope: !88)
// CHECK:STDOUT: !99 = !DILocation(line: 54, column: 12, scope: !88)
// CHECK:STDOUT: !100 = !DILocation(line: 54, column: 5, scope: !88)
// CHECK:STDOUT: !101 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.2621742a01881e29", scope: null, file: !1, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !102)
// CHECK:STDOUT: !92 = !DILocation(line: 49, column: 7, scope: !88)
// CHECK:STDOUT: !93 = !DILocation(line: 49, column: 6, scope: !88)
// CHECK:STDOUT: !94 = !DILocation(line: 50, column: 5, scope: !88)
// CHECK:STDOUT: !95 = !DILocation(line: 52, column: 7, scope: !88)
// CHECK:STDOUT: !96 = !DILocation(line: 52, column: 6, scope: !88)
// CHECK:STDOUT: !97 = !DILocation(line: 53, column: 12, scope: !88)
// CHECK:STDOUT: !98 = !DILocation(line: 53, column: 5, scope: !88)
// CHECK:STDOUT: !99 = !DILocation(line: 55, column: 12, scope: !88)
// CHECK:STDOUT: !100 = !DILocation(line: 55, column: 5, scope: !88)
// CHECK:STDOUT: !101 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.2621742a01881e29", scope: null, file: !1, line: 37, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !102)
// CHECK:STDOUT: !102 = !{!103, !104}
// CHECK:STDOUT: !103 = !DILocalVariable(arg: 1, scope: !101, type: !23)
// CHECK:STDOUT: !104 = !DILocalVariable(arg: 2, scope: !101, type: !30)
// CHECK:STDOUT: !105 = !DILocation(line: 37, column: 3, scope: !101)
// CHECK:STDOUT: !106 = !DILocation(line: 36, column: 1, scope: !101)
// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.2621742a01881e29", scope: null, file: !1, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !108)
// CHECK:STDOUT: !105 = !DILocation(line: 38, column: 3, scope: !101)
// CHECK:STDOUT: !106 = !DILocation(line: 37, column: 1, scope: !101)
// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.2621742a01881e29", scope: null, file: !1, line: 48, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !108)
// CHECK:STDOUT: !108 = !{!109, !110}
// CHECK:STDOUT: !109 = !DILocalVariable(arg: 1, scope: !107, type: !23)
// CHECK:STDOUT: !110 = !DILocalVariable(arg: 2, scope: !107, type: !30)
// CHECK:STDOUT: !111 = !DILocation(line: 48, column: 7, scope: !107)
// CHECK:STDOUT: !112 = !DILocation(line: 48, column: 6, scope: !107)
// CHECK:STDOUT: !113 = !DILocation(line: 49, column: 5, scope: !107)
// CHECK:STDOUT: !114 = !DILocation(line: 51, column: 7, scope: !107)
// CHECK:STDOUT: !115 = !DILocation(line: 51, column: 6, scope: !107)
// CHECK:STDOUT: !116 = !DILocation(line: 52, column: 12, scope: !107)
// CHECK:STDOUT: !117 = !DILocation(line: 52, column: 5, scope: !107)
// CHECK:STDOUT: !118 = !DILocation(line: 54, column: 12, scope: !107)
// CHECK:STDOUT: !119 = !DILocation(line: 54, column: 5, scope: !107)
// CHECK:STDOUT: !120 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.5bd8d5767580997a", scope: null, file: !1, line: 40, type: !60, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !121)
// CHECK:STDOUT: !111 = !DILocation(line: 49, column: 7, scope: !107)
// CHECK:STDOUT: !112 = !DILocation(line: 49, column: 6, scope: !107)
// CHECK:STDOUT: !113 = !DILocation(line: 50, column: 5, scope: !107)
// CHECK:STDOUT: !114 = !DILocation(line: 52, column: 7, scope: !107)
// CHECK:STDOUT: !115 = !DILocation(line: 52, column: 6, scope: !107)
// CHECK:STDOUT: !116 = !DILocation(line: 53, column: 12, scope: !107)
// CHECK:STDOUT: !117 = !DILocation(line: 53, column: 5, scope: !107)
// CHECK:STDOUT: !118 = !DILocation(line: 55, column: 12, scope: !107)
// CHECK:STDOUT: !119 = !DILocation(line: 55, column: 5, scope: !107)
// CHECK:STDOUT: !120 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.5bd8d5767580997a", scope: null, file: !1, line: 41, type: !60, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !121)
// CHECK:STDOUT: !121 = !{!122, !123}
// CHECK:STDOUT: !122 = !DILocalVariable(arg: 1, scope: !120, type: !30)
// CHECK:STDOUT: !123 = !DILocalVariable(arg: 2, scope: !120, type: !30)
// CHECK:STDOUT: !124 = !DILocation(line: 41, column: 7, scope: !120)
// CHECK:STDOUT: !125 = !DILocation(line: 41, column: 6, scope: !120)
// CHECK:STDOUT: !126 = !DILocation(line: 42, column: 5, scope: !120)
// CHECK:STDOUT: !127 = !DILocation(line: 43, column: 10, scope: !120)
// CHECK:STDOUT: !128 = !DILocation(line: 43, column: 5, scope: !120)
// CHECK:STDOUT: !129 = !DILocation(line: 41, column: 3, scope: !120)
// CHECK:STDOUT: !130 = !DILocation(line: 40, column: 1, scope: !120)
// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.5bd8d5767580997a", scope: null, file: !1, line: 60, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !132)
// CHECK:STDOUT: !124 = !DILocation(line: 42, column: 7, scope: !120)
// CHECK:STDOUT: !125 = !DILocation(line: 42, column: 6, scope: !120)
// CHECK:STDOUT: !126 = !DILocation(line: 43, column: 5, scope: !120)
// CHECK:STDOUT: !127 = !DILocation(line: 44, column: 10, scope: !120)
// CHECK:STDOUT: !128 = !DILocation(line: 44, column: 5, scope: !120)
// CHECK:STDOUT: !129 = !DILocation(line: 42, column: 3, scope: !120)
// CHECK:STDOUT: !130 = !DILocation(line: 41, column: 1, scope: !120)
// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.5bd8d5767580997a", scope: null, file: !1, line: 61, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !132)
// CHECK:STDOUT: !132 = !{!133, !134}
// CHECK:STDOUT: !133 = !DILocalVariable(arg: 1, scope: !131, type: !30)
// CHECK:STDOUT: !134 = !DILocalVariable(arg: 2, scope: !131, type: !30)
// CHECK:STDOUT: !135 = !DILocation(line: 61, column: 10, scope: !131)
// CHECK:STDOUT: !136 = !DILocation(line: 61, column: 3, scope: !131)
// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5bd8d5767580997a", scope: null, file: !1, line: 64, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !138)
// CHECK:STDOUT: !135 = !DILocation(line: 62, column: 10, scope: !131)
// CHECK:STDOUT: !136 = !DILocation(line: 62, column: 3, scope: !131)
// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5bd8d5767580997a", scope: null, file: !1, line: 65, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !138)
// CHECK:STDOUT: !138 = !{!139, !140}
// CHECK:STDOUT: !139 = !DILocalVariable(arg: 1, scope: !137, type: !30)
// CHECK:STDOUT: !140 = !DILocalVariable(arg: 2, scope: !137, type: !30)
// CHECK:STDOUT: !141 = !DILocation(line: 65, column: 10, scope: !137)
// CHECK:STDOUT: !142 = !DILocation(line: 65, column: 3, scope: !137)
// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c27b765f2159c9a0", scope: null, file: !1, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !144)
// CHECK:STDOUT: !141 = !DILocation(line: 66, column: 10, scope: !137)
// CHECK:STDOUT: !142 = !DILocation(line: 66, column: 3, scope: !137)
// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c27b765f2159c9a0", scope: null, file: !1, line: 41, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !144)
// CHECK:STDOUT: !144 = !{!145, !146}
// CHECK:STDOUT: !145 = !DILocalVariable(arg: 1, scope: !143, type: !23)
// CHECK:STDOUT: !146 = !DILocalVariable(arg: 2, scope: !143, type: !30)
// CHECK:STDOUT: !147 = !DILocation(line: 41, column: 7, scope: !143)
// CHECK:STDOUT: !148 = !DILocation(line: 41, column: 6, scope: !143)
// CHECK:STDOUT: !149 = !DILocation(line: 42, column: 5, scope: !143)
// CHECK:STDOUT: !150 = !DILocation(line: 43, column: 10, scope: !143)
// CHECK:STDOUT: !151 = !DILocation(line: 43, column: 5, scope: !143)
// CHECK:STDOUT: !152 = !DILocation(line: 41, column: 3, scope: !143)
// CHECK:STDOUT: !153 = !DILocation(line: 40, column: 1, scope: !143)
// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.c27b765f2159c9a0", scope: null, file: !1, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !155)
// CHECK:STDOUT: !147 = !DILocation(line: 42, column: 7, scope: !143)
// CHECK:STDOUT: !148 = !DILocation(line: 42, column: 6, scope: !143)
// CHECK:STDOUT: !149 = !DILocation(line: 43, column: 5, scope: !143)
// CHECK:STDOUT: !150 = !DILocation(line: 44, column: 10, scope: !143)
// CHECK:STDOUT: !151 = !DILocation(line: 44, column: 5, scope: !143)
// CHECK:STDOUT: !152 = !DILocation(line: 42, column: 3, scope: !143)
// CHECK:STDOUT: !153 = !DILocation(line: 41, column: 1, scope: !143)
// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.c27b765f2159c9a0", scope: null, file: !1, line: 61, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !155)
// CHECK:STDOUT: !155 = !{!156, !157}
// CHECK:STDOUT: !156 = !DILocalVariable(arg: 1, scope: !154, type: !23)
// CHECK:STDOUT: !157 = !DILocalVariable(arg: 2, scope: !154, type: !30)
// CHECK:STDOUT: !158 = !DILocation(line: 61, column: 10, scope: !154)
// CHECK:STDOUT: !159 = !DILocation(line: 61, column: 3, scope: !154)
// CHECK:STDOUT: !160 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c27b765f2159c9a0", scope: null, file: !1, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !161)
// CHECK:STDOUT: !158 = !DILocation(line: 62, column: 10, scope: !154)
// CHECK:STDOUT: !159 = !DILocation(line: 62, column: 3, scope: !154)
// CHECK:STDOUT: !160 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c27b765f2159c9a0", scope: null, file: !1, line: 65, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !161)
// CHECK:STDOUT: !161 = !{!162, !163}
// CHECK:STDOUT: !162 = !DILocalVariable(arg: 1, scope: !160, type: !23)
// CHECK:STDOUT: !163 = !DILocalVariable(arg: 2, scope: !160, type: !30)
// CHECK:STDOUT: !164 = !DILocation(line: 65, column: 10, scope: !160)
// CHECK:STDOUT: !165 = !DILocation(line: 65, column: 3, scope: !160)
// CHECK:STDOUT: !166 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.2621742a01881e29", scope: null, file: !1, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !167)
// CHECK:STDOUT: !164 = !DILocation(line: 66, column: 10, scope: !160)
// CHECK:STDOUT: !165 = !DILocation(line: 66, column: 3, scope: !160)
// CHECK:STDOUT: !166 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.2621742a01881e29", scope: null, file: !1, line: 41, type: !81, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !167)
// CHECK:STDOUT: !167 = !{!168, !169}
// CHECK:STDOUT: !168 = !DILocalVariable(arg: 1, scope: !166, type: !23)
// CHECK:STDOUT: !169 = !DILocalVariable(arg: 2, scope: !166, type: !30)
// CHECK:STDOUT: !170 = !DILocation(line: 41, column: 7, scope: !166)
// CHECK:STDOUT: !171 = !DILocation(line: 41, column: 6, scope: !166)
// CHECK:STDOUT: !172 = !DILocation(line: 42, column: 5, scope: !166)
// CHECK:STDOUT: !173 = !DILocation(line: 43, column: 10, scope: !166)
// CHECK:STDOUT: !174 = !DILocation(line: 43, column: 5, scope: !166)
// CHECK:STDOUT: !175 = !DILocation(line: 41, column: 3, scope: !166)
// CHECK:STDOUT: !176 = !DILocation(line: 40, column: 1, scope: !166)
// CHECK:STDOUT: !177 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.2621742a01881e29", scope: null, file: !1, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !178)
// CHECK:STDOUT: !170 = !DILocation(line: 42, column: 7, scope: !166)
// CHECK:STDOUT: !171 = !DILocation(line: 42, column: 6, scope: !166)
// CHECK:STDOUT: !172 = !DILocation(line: 43, column: 5, scope: !166)
// CHECK:STDOUT: !173 = !DILocation(line: 44, column: 10, scope: !166)
// CHECK:STDOUT: !174 = !DILocation(line: 44, column: 5, scope: !166)
// CHECK:STDOUT: !175 = !DILocation(line: 42, column: 3, scope: !166)
// CHECK:STDOUT: !176 = !DILocation(line: 41, column: 1, scope: !166)
// CHECK:STDOUT: !177 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.2621742a01881e29", scope: null, file: !1, line: 61, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !178)
// CHECK:STDOUT: !178 = !{!179, !180}
// CHECK:STDOUT: !179 = !DILocalVariable(arg: 1, scope: !177, type: !23)
// CHECK:STDOUT: !180 = !DILocalVariable(arg: 2, scope: !177, type: !30)
// CHECK:STDOUT: !181 = !DILocation(line: 61, column: 10, scope: !177)
// CHECK:STDOUT: !182 = !DILocation(line: 61, column: 3, scope: !177)
// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2621742a01881e29", scope: null, file: !1, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !184)
// CHECK:STDOUT: !181 = !DILocation(line: 62, column: 10, scope: !177)
// CHECK:STDOUT: !182 = !DILocation(line: 62, column: 3, scope: !177)
// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2621742a01881e29", scope: null, file: !1, line: 65, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !184)
// CHECK:STDOUT: !184 = !{!185, !186}
// CHECK:STDOUT: !185 = !DILocalVariable(arg: 1, scope: !183, type: !23)
// CHECK:STDOUT: !186 = !DILocalVariable(arg: 2, scope: !183, type: !30)
// CHECK:STDOUT: !187 = !DILocation(line: 65, column: 10, scope: !183)
// CHECK:STDOUT: !188 = !DILocation(line: 65, column: 3, scope: !183)
// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.5bd8d5767580997a", scope: null, file: !1, line: 68, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !190)
// CHECK:STDOUT: !187 = !DILocation(line: 66, column: 10, scope: !183)
// CHECK:STDOUT: !188 = !DILocation(line: 66, column: 3, scope: !183)
// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.5bd8d5767580997a", scope: null, file: !1, line: 69, type: !35, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !190)
// CHECK:STDOUT: !190 = !{!191, !192}
// CHECK:STDOUT: !191 = !DILocalVariable(arg: 1, scope: !189, type: !30)
// CHECK:STDOUT: !192 = !DILocalVariable(arg: 2, scope: !189, type: !30)
// CHECK:STDOUT: !193 = !DILocation(line: 69, column: 15, scope: !189)
// CHECK:STDOUT: !194 = !DILocation(line: 69, column: 10, scope: !189)
// CHECK:STDOUT: !195 = !DILocation(line: 69, column: 3, scope: !189)
// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c27b765f2159c9a0", scope: null, file: !1, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !197)
// CHECK:STDOUT: !193 = !DILocation(line: 70, column: 15, scope: !189)
// CHECK:STDOUT: !194 = !DILocation(line: 70, column: 10, scope: !189)
// CHECK:STDOUT: !195 = !DILocation(line: 70, column: 3, scope: !189)
// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c27b765f2159c9a0", scope: null, file: !1, line: 69, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !197)
// CHECK:STDOUT: !197 = !{!198, !199}
// CHECK:STDOUT: !198 = !DILocalVariable(arg: 1, scope: !196, type: !23)
// CHECK:STDOUT: !199 = !DILocalVariable(arg: 2, scope: !196, type: !30)
// CHECK:STDOUT: !200 = !DILocation(line: 69, column: 15, scope: !196)
// CHECK:STDOUT: !201 = !DILocation(line: 69, column: 10, scope: !196)
// CHECK:STDOUT: !202 = !DILocation(line: 69, column: 3, scope: !196)
// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.2621742a01881e29", scope: null, file: !1, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !204)
// CHECK:STDOUT: !200 = !DILocation(line: 70, column: 15, scope: !196)
// CHECK:STDOUT: !201 = !DILocation(line: 70, column: 10, scope: !196)
// CHECK:STDOUT: !202 = !DILocation(line: 70, column: 3, scope: !196)
// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.2621742a01881e29", scope: null, file: !1, line: 69, type: !44, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !204)
// CHECK:STDOUT: !204 = !{!205, !206}
// CHECK:STDOUT: !205 = !DILocalVariable(arg: 1, scope: !203, type: !23)
// CHECK:STDOUT: !206 = !DILocalVariable(arg: 2, scope: !203, type: !30)
// CHECK:STDOUT: !207 = !DILocation(line: 69, column: 15, scope: !203)
// CHECK:STDOUT: !208 = !DILocation(line: 69, column: 10, scope: !203)
// CHECK:STDOUT: !209 = !DILocation(line: 69, column: 3, scope: !203)
// CHECK:STDOUT: !207 = !DILocation(line: 70, column: 15, scope: !203)
// CHECK:STDOUT: !208 = !DILocation(line: 70, column: 10, scope: !203)
// CHECK:STDOUT: !209 = !DILocation(line: 70, column: 3, scope: !203)
// CHECK:STDOUT: