|
|
@@ -88,64 +88,6 @@ var a: i32* = a_ref;
|
|
|
// CHECK:STDOUT: --- implicit.impl.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic]
|
|
|
-// CHECK:STDOUT: %Dest: type = bind_symbolic_name Dest, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type.2: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic]
|
|
|
-// CHECK:STDOUT: %Self.1: %ImplicitAs.type.2 = bind_symbolic_name Self, 1 [symbolic]
|
|
|
-// CHECK:STDOUT: %Dest.patt: type = symbolic_binding_pattern Dest, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type.3: type = facet_type <@ImplicitAs, @ImplicitAs(%iN)> [symbolic]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.1: type = fn_type @Convert.1, @ImplicitAs(%Dest) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.1: %Convert.type.1 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %Self.as_type.1: type = facet_access_type %Self.1 [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type.1: type = assoc_entity_type %ImplicitAs.type.2, %Convert.type.1 [symbolic]
|
|
|
-// CHECK:STDOUT: %assoc0.1: %Convert.assoc_type.1 = assoc_entity element0, imports.%import_ref.9 [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.2: type = fn_type @Convert.2, @impl.1(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.2: %Convert.type.2 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.1: <witness> = interface_witness (%Convert.2) [symbolic]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type.4: type = facet_type <@ImplicitAs, @ImplicitAs(%uN)> [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.3: type = fn_type @Convert.3, @impl.2(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.3: %Convert.type.3 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.2: <witness> = interface_witness (%Convert.3) [symbolic]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type.5: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.4: type = fn_type @Convert.4, @impl.3(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.4: %Convert.type.4 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.3: <witness> = interface_witness (%Convert.4) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.5: type = fn_type @Convert.1, @ImplicitAs(Core.IntLiteral) [template]
|
|
|
-// CHECK:STDOUT: %Convert.5: %Convert.type.5 = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type.2: type = assoc_entity_type %ImplicitAs.type.5, %Convert.type.5 [template]
|
|
|
-// CHECK:STDOUT: %assoc0.2: %Convert.assoc_type.2 = assoc_entity element0, imports.%import_ref.16 [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.6: type = fn_type @Convert.5, @impl.4(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.6: %Convert.type.6 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.4: <witness> = interface_witness (%Convert.6) [symbolic]
|
|
|
-// CHECK:STDOUT: %As.type.2: type = facet_type <@As, @As(%Dest)> [symbolic]
|
|
|
-// CHECK:STDOUT: %Self.2: %As.type.2 = bind_symbolic_name Self, 1 [symbolic]
|
|
|
-// CHECK:STDOUT: %As.type.3: type = facet_type <@As, @As(%iN)> [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.7: type = fn_type @Convert.6, @As(%Dest) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.7: %Convert.type.7 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %Self.as_type.2: type = facet_access_type %Self.2 [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type.3: type = assoc_entity_type %As.type.2, %Convert.type.7 [symbolic]
|
|
|
-// CHECK:STDOUT: %assoc0.3: %Convert.assoc_type.3 = assoc_entity element0, imports.%import_ref.26 [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.8: type = fn_type @Convert.7, @impl.5(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.8: %Convert.type.8 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.5: <witness> = interface_witness (%Convert.8) [symbolic]
|
|
|
-// CHECK:STDOUT: %As.type.4: type = facet_type <@As, @As(%uN)> [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.9: type = fn_type @Convert.8, @impl.6(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.9: %Convert.type.9 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.6: <witness> = interface_witness (%Convert.9) [symbolic]
|
|
|
-// CHECK:STDOUT: %As.type.5: type = facet_type <@As, @As(Core.IntLiteral)> [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.10: type = fn_type @Convert.9, @impl.7(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.10: %Convert.type.10 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.7: <witness> = interface_witness (%Convert.10) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.type.11: type = fn_type @Convert.6, @As(Core.IntLiteral) [template]
|
|
|
-// CHECK:STDOUT: %Convert.11: %Convert.type.11 = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type.4: type = assoc_entity_type %As.type.5, %Convert.type.11 [template]
|
|
|
-// CHECK:STDOUT: %assoc0.4: %Convert.assoc_type.4 = assoc_entity element0, imports.%import_ref.33 [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.12: type = fn_type @Convert.10, @impl.8(%N) [symbolic]
|
|
|
-// CHECK:STDOUT: %Convert.12: %Convert.type.12 = struct_value () [symbolic]
|
|
|
-// CHECK:STDOUT: %interface.8: <witness> = interface_witness (%Convert.12) [symbolic]
|
|
|
// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [template]
|
|
|
// CHECK:STDOUT: %Int.type: type = fn_type @Int [template]
|
|
|
// CHECK:STDOUT: %Int: %Int.type = struct_value () [template]
|
|
|
@@ -161,38 +103,6 @@ var a: i32* = a_ref;
|
|
|
// CHECK:STDOUT: import Core//prelude
|
|
|
// CHECK:STDOUT: import Core//prelude/...
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %import_ref.3 = import_ref Implicit//default, inst+32, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.4 = import_ref Implicit//default, inst+33, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.5 = import_ref Implicit//default, inst+34, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.6: type = import_ref Implicit//default, inst+72, loaded [template = Core.IntLiteral]
|
|
|
-// CHECK:STDOUT: %import_ref.7: type = import_ref Implicit//default, inst+73, loaded [symbolic = @impl.1.%ImplicitAs.type (constants.%ImplicitAs.type.3)]
|
|
|
-// CHECK:STDOUT: %import_ref.8 = import_ref Implicit//default, inst+74, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.9 = import_ref Implicit//default, inst+46, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.10: type = import_ref Implicit//default, inst+97, loaded [template = Core.IntLiteral]
|
|
|
-// CHECK:STDOUT: %import_ref.11: type = import_ref Implicit//default, inst+98, loaded [symbolic = @impl.2.%ImplicitAs.type (constants.%ImplicitAs.type.4)]
|
|
|
-// CHECK:STDOUT: %import_ref.12 = import_ref Implicit//default, inst+99, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.13: type = import_ref Implicit//default, inst+121, loaded [symbolic = @impl.3.%iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT: %import_ref.14: type = import_ref Implicit//default, inst+122, loaded [template = constants.%ImplicitAs.type.5]
|
|
|
-// CHECK:STDOUT: %import_ref.15 = import_ref Implicit//default, inst+123, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.17: type = import_ref Implicit//default, inst+148, loaded [symbolic = @impl.4.%uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT: %import_ref.18: type = import_ref Implicit//default, inst+149, loaded [template = constants.%ImplicitAs.type.5]
|
|
|
-// CHECK:STDOUT: %import_ref.19 = import_ref Implicit//default, inst+150, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.20 = import_ref Implicit//default, inst+175, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.21 = import_ref Implicit//default, inst+176, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.22 = import_ref Implicit//default, inst+177, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.23: type = import_ref Implicit//default, inst+181, loaded [template = Core.IntLiteral]
|
|
|
-// CHECK:STDOUT: %import_ref.24: type = import_ref Implicit//default, inst+182, loaded [symbolic = @impl.5.%As.type (constants.%As.type.3)]
|
|
|
-// CHECK:STDOUT: %import_ref.25 = import_ref Implicit//default, inst+183, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.26 = import_ref Implicit//default, inst+195, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.27: type = import_ref Implicit//default, inst+228, loaded [template = Core.IntLiteral]
|
|
|
-// CHECK:STDOUT: %import_ref.28: type = import_ref Implicit//default, inst+229, loaded [symbolic = @impl.6.%As.type (constants.%As.type.4)]
|
|
|
-// CHECK:STDOUT: %import_ref.29 = import_ref Implicit//default, inst+230, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.30: type = import_ref Implicit//default, inst+252, loaded [symbolic = @impl.7.%iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT: %import_ref.31: type = import_ref Implicit//default, inst+253, loaded [template = constants.%As.type.5]
|
|
|
-// CHECK:STDOUT: %import_ref.32 = import_ref Implicit//default, inst+254, unloaded
|
|
|
-// CHECK:STDOUT: %import_ref.34: type = import_ref Implicit//default, inst+279, loaded [symbolic = @impl.8.%uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT: %import_ref.35: type = import_ref Implicit//default, inst+280, loaded [template = constants.%As.type.5]
|
|
|
-// CHECK:STDOUT: %import_ref.36 = import_ref Implicit//default, inst+281, unloaded
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
@@ -214,268 +124,6 @@ var a: i32* = a_ref;
|
|
|
// CHECK:STDOUT: %a: ref %ptr = bind_name a, %a.var
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic interface @ImplicitAs(constants.%Dest: type) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %Dest: type = bind_symbolic_name Dest, 0 [symbolic = %Dest (constants.%Dest)]
|
|
|
-// CHECK:STDOUT: %Dest.patt: type = symbolic_binding_pattern Dest, 0 [symbolic = %Dest.patt (constants.%Dest.patt)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.2)]
|
|
|
-// CHECK:STDOUT: %Self: %ImplicitAs.type.2 = bind_symbolic_name Self, 1 [symbolic = %Self (constants.%Self.1)]
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.1, @ImplicitAs(%Dest) [symbolic = %Convert.type (constants.%Convert.type.1)]
|
|
|
-// CHECK:STDOUT: %Convert: @ImplicitAs.%Convert.type (%Convert.type.1) = struct_value () [symbolic = %Convert (constants.%Convert.1)]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type: type = assoc_entity_type @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.2), @ImplicitAs.%Convert.type (%Convert.type.1) [symbolic = %Convert.assoc_type (constants.%Convert.assoc_type.1)]
|
|
|
-// CHECK:STDOUT: %assoc0: @ImplicitAs.%Convert.assoc_type (%Convert.assoc_type.1) = assoc_entity element0, imports.%import_ref.9 [symbolic = %assoc0 (constants.%assoc0.1)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: interface {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: .Self = imports.%import_ref.3
|
|
|
-// CHECK:STDOUT: .Convert = imports.%import_ref.4
|
|
|
-// CHECK:STDOUT: witness = (imports.%import_ref.5)
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic interface @As(constants.%Dest: type) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %Dest: type = bind_symbolic_name Dest, 0 [symbolic = %Dest (constants.%Dest)]
|
|
|
-// CHECK:STDOUT: %Dest.patt: type = symbolic_binding_pattern Dest, 0 [symbolic = %Dest.patt (constants.%Dest.patt)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%Dest)> [symbolic = %As.type (constants.%As.type.2)]
|
|
|
-// CHECK:STDOUT: %Self: %As.type.2 = bind_symbolic_name Self, 1 [symbolic = %Self (constants.%Self.2)]
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.6, @As(%Dest) [symbolic = %Convert.type (constants.%Convert.type.7)]
|
|
|
-// CHECK:STDOUT: %Convert: @As.%Convert.type (%Convert.type.7) = struct_value () [symbolic = %Convert (constants.%Convert.7)]
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type: type = assoc_entity_type @As.%As.type (%As.type.2), @As.%Convert.type (%Convert.type.7) [symbolic = %Convert.assoc_type (constants.%Convert.assoc_type.3)]
|
|
|
-// CHECK:STDOUT: %assoc0: @As.%Convert.assoc_type (%Convert.assoc_type.3) = assoc_entity element0, imports.%import_ref.26 [symbolic = %assoc0 (constants.%assoc0.3)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: interface {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: .Self = imports.%import_ref.20
|
|
|
-// CHECK:STDOUT: .Convert = imports.%import_ref.21
|
|
|
-// CHECK:STDOUT: witness = (imports.%import_ref.22)
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.1(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%iN)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.3)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.2, @impl.1(%N) [symbolic = %Convert.type (constants.%Convert.type.2)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.1.%Convert.type (%Convert.type.2) = struct_value () [symbolic = %Convert (constants.%Convert.2)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.1)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.6 as imports.%import_ref.7 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.8
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.2(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%uN)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.4)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.3, @impl.2(%N) [symbolic = %Convert.type (constants.%Convert.type.3)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.2.%Convert.type (%Convert.type.3) = struct_value () [symbolic = %Convert (constants.%Convert.3)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.2)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.10 as imports.%import_ref.11 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.12
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.3(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.4, @impl.3(%N) [symbolic = %Convert.type (constants.%Convert.type.4)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.3.%Convert.type (%Convert.type.4) = struct_value () [symbolic = %Convert (constants.%Convert.4)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.3)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.13 as imports.%import_ref.14 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.15
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.4(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.5, @impl.4(%N) [symbolic = %Convert.type (constants.%Convert.type.6)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.4.%Convert.type (%Convert.type.6) = struct_value () [symbolic = %Convert (constants.%Convert.6)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.4)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.17 as imports.%import_ref.18 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.19
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.5(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%iN)> [symbolic = %As.type (constants.%As.type.3)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.7, @impl.5(%N) [symbolic = %Convert.type (constants.%Convert.type.8)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.5.%Convert.type (%Convert.type.8) = struct_value () [symbolic = %Convert (constants.%Convert.8)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.5)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.23 as imports.%import_ref.24 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.25
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.6(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%uN)> [symbolic = %As.type (constants.%As.type.4)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.8, @impl.6(%N) [symbolic = %Convert.type (constants.%Convert.type.9)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.6.%Convert.type (%Convert.type.9) = struct_value () [symbolic = %Convert (constants.%Convert.9)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.6)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.27 as imports.%import_ref.28 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.29
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.7(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.9, @impl.7(%N) [symbolic = %Convert.type (constants.%Convert.type.10)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.7.%Convert.type (%Convert.type.10) = struct_value () [symbolic = %Convert (constants.%Convert.10)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.7)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.30 as imports.%import_ref.31 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.32
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic impl @impl.8(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %N.patt: Core.IntLiteral = symbolic_binding_pattern N, 0 [symbolic = %N.patt (constants.%N.patt)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %Convert.type: type = fn_type @Convert.10, @impl.8(%N) [symbolic = %Convert.type (constants.%Convert.type.12)]
|
|
|
-// CHECK:STDOUT: %Convert: @impl.8.%Convert.type (%Convert.type.12) = struct_value () [symbolic = %Convert (constants.%Convert.12)]
|
|
|
-// CHECK:STDOUT: %interface: <witness> = interface_witness (%Convert) [symbolic = %interface (constants.%interface.8)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: impl: imports.%import_ref.34 as imports.%import_ref.35 {
|
|
|
-// CHECK:STDOUT: !members:
|
|
|
-// CHECK:STDOUT: witness = imports.%import_ref.36
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.1(constants.%Dest: type, constants.%Self.1: %ImplicitAs.type.2) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %Dest: type = bind_symbolic_name Dest, 0 [symbolic = %Dest (constants.%Dest)]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.2)]
|
|
|
-// CHECK:STDOUT: %Self: %ImplicitAs.type.2 = bind_symbolic_name Self, 1 [symbolic = %Self (constants.%Self.1)]
|
|
|
-// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.1)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.1.%Self.as_type (%Self.as_type.1)]() -> @Convert.1.%Dest (%Dest);
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.2(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: Core.IntLiteral]() -> @Convert.2.%iN (%iN) = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.3(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: Core.IntLiteral]() -> @Convert.3.%uN (%uN) = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.4(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.4.%iN (%iN)]() -> Core.IntLiteral = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.5(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.5.%uN (%uN)]() -> Core.IntLiteral = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.6(constants.%Dest: type, constants.%Self.2: %As.type.2) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %Dest: type = bind_symbolic_name Dest, 0 [symbolic = %Dest (constants.%Dest)]
|
|
|
-// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%Dest)> [symbolic = %As.type (constants.%As.type.2)]
|
|
|
-// CHECK:STDOUT: %Self: %As.type.2 = bind_symbolic_name Self, 1 [symbolic = %Self (constants.%Self.2)]
|
|
|
-// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.2)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.6.%Self.as_type (%Self.as_type.2)]() -> @Convert.6.%Dest (%Dest);
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.7(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: Core.IntLiteral]() -> @Convert.7.%iN (%iN) = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.8(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: Core.IntLiteral]() -> @Convert.8.%uN (%uN) = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.9(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %iN: type = int_type signed, %N [symbolic = %iN (constants.%iN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.9.%iN (%iN)]() -> Core.IntLiteral = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: generic fn @Convert.10(constants.%N: Core.IntLiteral) [from "implicit.carbon"] {
|
|
|
-// CHECK:STDOUT: %N: Core.IntLiteral = bind_symbolic_name N, 0 [symbolic = %N (constants.%N)]
|
|
|
-// CHECK:STDOUT: %uN: type = int_type unsigned, %N [symbolic = %uN (constants.%uN)]
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn[%self.param_patt: @Convert.10.%uN (%uN)]() -> Core.IntLiteral = "int.convert_checked";
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @__global_init() {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
// CHECK:STDOUT: %a_ref.ref: ref %ptr = name_ref a_ref, imports.%import_ref.2
|
|
|
@@ -484,257 +132,3 @@ var a: i32* = a_ref;
|
|
|
// CHECK:STDOUT: return
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(constants.%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(constants.%iN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%iN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(@impl.1.%iN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%iN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.1(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.3
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.1(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.3
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(@Convert.1.%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.1(constants.%Dest, constants.%Self.1) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.2
|
|
|
-// CHECK:STDOUT: %Self => constants.%Self.1
|
|
|
-// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.1
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.2(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(constants.%uN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%uN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(@impl.2.%uN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%uN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.2(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.4
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.2(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.4
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.3(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @ImplicitAs(Core.IntLiteral) {
|
|
|
-// CHECK:STDOUT: %Dest => Core.IntLiteral
|
|
|
-// CHECK:STDOUT: %Dest.patt => Core.IntLiteral
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.5
|
|
|
-// CHECK:STDOUT: %Self => constants.%Self.1
|
|
|
-// CHECK:STDOUT: %Convert.type => constants.%Convert.type.5
|
|
|
-// CHECK:STDOUT: %Convert => constants.%Convert.5
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type => constants.%Convert.assoc_type.2
|
|
|
-// CHECK:STDOUT: %assoc0 => constants.%assoc0.2
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.3(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.3(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.4(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.4(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.4(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.5(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(constants.%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(constants.%iN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%iN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(@impl.5.%iN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%iN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.5(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.3
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.5(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.3
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(@Convert.6.%Dest) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%Dest
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.6(constants.%Dest, constants.%Self.2) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%Dest
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.2
|
|
|
-// CHECK:STDOUT: %Self => constants.%Self.2
|
|
|
-// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.2
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.7(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(constants.%uN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%uN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(@impl.6.%uN) {
|
|
|
-// CHECK:STDOUT: %Dest => constants.%uN
|
|
|
-// CHECK:STDOUT: %Dest.patt => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.6(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.4
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.6(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.4
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.8(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @As(Core.IntLiteral) {
|
|
|
-// CHECK:STDOUT: %Dest => Core.IntLiteral
|
|
|
-// CHECK:STDOUT: %Dest.patt => Core.IntLiteral
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %As.type => constants.%As.type.5
|
|
|
-// CHECK:STDOUT: %Self => constants.%Self.2
|
|
|
-// CHECK:STDOUT: %Convert.type => constants.%Convert.type.11
|
|
|
-// CHECK:STDOUT: %Convert => constants.%Convert.11
|
|
|
-// CHECK:STDOUT: %Convert.assoc_type => constants.%Convert.assoc_type.4
|
|
|
-// CHECK:STDOUT: %assoc0 => constants.%assoc0.4
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.7(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.7(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.9(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %iN => constants.%iN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.8(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @impl.8(%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %N.patt => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @Convert.10(constants.%N) {
|
|
|
-// CHECK:STDOUT: %N => constants.%N
|
|
|
-// CHECK:STDOUT: %uN => constants.%uN
|
|
|
-// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT:
|