|
|
@@ -118,7 +118,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.assoc_type.5b2: type = assoc_entity_type @Z, @Z(%S) [symbolic]
|
|
|
// CHECK:STDOUT: %assoc0.8bc: %Z.assoc_type.5b2 = assoc_entity element0, @Z.WithSelf.%X [symbolic]
|
|
|
// CHECK:STDOUT: %require_complete.72d: <witness> = require_complete_type %Z.type.4d0 [symbolic]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type.097: type = symbolic_binding_type .Self, %.Self.90f [symbolic]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.faa: type = facet_access_type %.Self.90f [symbolic]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness.7d6: <witness> = lookup_impl_witness %.Self.90f, @Z, @Z(%S) [symbolic]
|
|
|
// CHECK:STDOUT: %impl.elem0.e5e: type = impl_witness_access %Z.lookup_impl_witness.7d6, element0 [symbolic]
|
|
|
// CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete]
|
|
|
@@ -131,7 +131,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Self.af9: %Z.type.be4 = symbolic_binding Self, 1 [symbolic]
|
|
|
// CHECK:STDOUT: %Z.assoc_type.553: type = assoc_entity_type @Z, @Z(%C) [concrete]
|
|
|
// CHECK:STDOUT: %assoc0.1e0: %Z.assoc_type.553 = assoc_entity element0, @Z.WithSelf.%X [concrete]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type.8c6: type = symbolic_binding_type .Self, %.Self.bf2 [symbolic_self]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.acb: type = facet_access_type %.Self.bf2 [symbolic_self]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness.c06: <witness> = lookup_impl_witness %.Self.bf2, @Z, @Z(%C) [symbolic_self]
|
|
|
// CHECK:STDOUT: %impl.elem0.2cd: type = impl_witness_access %Z.lookup_impl_witness.c06, element0 [symbolic_self]
|
|
|
// CHECK:STDOUT: %Z_where.type.c3e: type = facet_type <@Z, @Z(%C) where %impl.elem0.2cd = %T.67d> [symbolic]
|
|
|
@@ -140,15 +140,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.facet.738: %Z.type.be4 = facet_value %T.67d, (%Z.impl_witness.9b0) [symbolic]
|
|
|
// CHECK:STDOUT: %pattern_type.53f: type = pattern_type %Z.type.be4 [concrete]
|
|
|
// CHECK:STDOUT: %T.fe5: %Z.type.be4 = symbolic_binding T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.fe5 [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.bb9: type = pattern_type %T.binding.as_type [symbolic]
|
|
|
+// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.fe5 [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.177: type = pattern_type %T.as_type [symbolic]
|
|
|
// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
-// CHECK:STDOUT: %require_complete.f3b: <witness> = require_complete_type %T.binding.as_type [symbolic]
|
|
|
-// CHECK:STDOUT: %Z_where.type.325: type = facet_type <@Z, @Z(%C) where %impl.elem0.2cd = %T.binding.as_type> [symbolic]
|
|
|
-// CHECK:STDOUT: %Z.impl_witness.5a3: <witness> = impl_witness @T.as.Z.impl.cf0.%Z.impl_witness_table, @T.as.Z.impl.cf0(%T.binding.as_type) [symbolic]
|
|
|
-// CHECK:STDOUT: %require_complete.267: <witness> = require_complete_type %Z_where.type.325 [symbolic]
|
|
|
-// CHECK:STDOUT: %.7b3: require_specific_def_type = require_specific_def @T.as.Z.impl.cf0(%T.binding.as_type) [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.7c5: <witness> = require_complete_type %T.as_type [symbolic]
|
|
|
+// CHECK:STDOUT: %Z_where.type.238: type = facet_type <@Z, @Z(%C) where %impl.elem0.2cd = %T.as_type> [symbolic]
|
|
|
+// CHECK:STDOUT: %Z.impl_witness.4c9: <witness> = impl_witness @T.as.Z.impl.cf0.%Z.impl_witness_table, @T.as.Z.impl.cf0(%T.as_type) [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.d03: <witness> = require_complete_type %Z_where.type.238 [symbolic]
|
|
|
+// CHECK:STDOUT: %.75b: require_specific_def_type = require_specific_def @T.as.Z.impl.cf0(%T.as_type) [symbolic]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
@@ -186,8 +186,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc9_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc9_42.2 (constants.%Z.type.4d0)]
|
|
|
// CHECK:STDOUT: %.Self.1: @T.as.Z.impl.34a.%Z.type.loc9_42.2 (%Z.type.4d0) = symbolic_binding .Self [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.34a.%Z.type.loc9_42.2 (%Z.type.4d0) = name_ref .Self, %.Self.1 [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
-// CHECK:STDOUT: %.loc9_50.1: type = converted %.Self.ref, %.Self.as_type [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc9_50.1: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc9_50.2 (constants.%.Self.as_type.faa)]
|
|
|
+// CHECK:STDOUT: %.loc9_50.1: type = converted %.Self.ref, %.Self.as_type.loc9_50.1 [symbolic = %.Self.as_type.loc9_50.2 (constants.%.Self.as_type.faa)]
|
|
|
// CHECK:STDOUT: %.loc9_50.2: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.90f) [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %X.ref: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = name_ref X, %.loc9_50.2 [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %impl.elem0.loc9_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.7d6, element0 [symbolic = %impl.elem0.loc9_50.2 (constants.%impl.elem0.e5e)]
|
|
|
@@ -217,8 +217,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.be4]
|
|
|
// CHECK:STDOUT: %.Self.1: %Z.type.be4 = symbolic_binding .Self [symbolic_self = constants.%.Self.bf2]
|
|
|
// CHECK:STDOUT: %.Self.ref: %Z.type.be4 = name_ref .Self, %.Self.1 [symbolic_self = constants.%.Self.bf2]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.binding.as_type.8c6]
|
|
|
-// CHECK:STDOUT: %.loc11_46.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.binding.as_type.8c6]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.acb]
|
|
|
+// CHECK:STDOUT: %.loc11_46.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.acb]
|
|
|
// CHECK:STDOUT: %.loc11_46.2: %Z.assoc_type.553 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.bf2) [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %X.ref: %Z.assoc_type.553 = name_ref X, %.loc11_46.2 [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.c06, element0 [symbolic_self = constants.%impl.elem0.2cd]
|
|
|
@@ -235,8 +235,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt: %pattern_type.53f = symbolic_binding_pattern T, 0 [concrete]
|
|
|
-// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.bb9) = value_param_pattern [concrete]
|
|
|
-// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.bb9) = at_binding_pattern t, %t.param_patt [concrete]
|
|
|
+// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.177) = value_param_pattern [concrete]
|
|
|
+// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.177) = at_binding_pattern t, %t.param_patt [concrete]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc13_13: type = splice_block %Z.type [concrete = constants.%Z.type.be4] {
|
|
|
// CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39]
|
|
|
@@ -245,13 +245,13 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.be4]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc13_7.2: %Z.type.be4 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %t.param: @F.%T.binding.as_type (%T.binding.as_type) = value_param call_param0
|
|
|
-// CHECK:STDOUT: %.loc13_19.1: type = splice_block %.loc13_19.2 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)] {
|
|
|
+// CHECK:STDOUT: %t.param: @F.%T.as_type.loc13_19.1 (%T.as_type) = value_param call_param0
|
|
|
+// CHECK:STDOUT: %.loc13_19.1: type = splice_block %.loc13_19.2 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc13: %Z.type.be4 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc13: type = facet_access_type %T.ref.loc13 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %.loc13_19.2: type = converted %T.ref.loc13, %T.as_type.loc13 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc13_19.2: type = facet_access_type %T.ref.loc13 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %.loc13_19.2: type = converted %T.ref.loc13, %T.as_type.loc13_19.2 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t: @F.%T.binding.as_type (%T.binding.as_type) = value_binding t, %t.param
|
|
|
+// CHECK:STDOUT: %t: @F.%T.as_type.loc13_19.1 (%T.as_type) = value_binding t, %t.param
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
@@ -286,7 +286,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc9_42.2: type = facet_type <@Z, @Z(%S.loc9_25.2)> [symbolic = %Z.type.loc9_42.2 (constants.%Z.type.4d0)]
|
|
|
// CHECK:STDOUT: %.Self.4: @T.as.Z.impl.34a.%Z.type.loc9_42.2 (%Z.type.4d0) = symbolic_binding .Self [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
// CHECK:STDOUT: %require_complete.loc9_50: <witness> = require_complete_type %Z.type.loc9_42.2 [symbolic = %require_complete.loc9_50 (constants.%require_complete.72d)]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type: type = symbolic_binding_type .Self, %.Self.4 [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc9_50.2: type = facet_access_type %.Self.4 [symbolic = %.Self.as_type.loc9_50.2 (constants.%.Self.as_type.faa)]
|
|
|
// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc9_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.5b2)]
|
|
|
// CHECK:STDOUT: %assoc0: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness: <witness> = lookup_impl_witness %.Self.4, @Z, @Z(%S.loc9_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.7d6)]
|
|
|
@@ -335,28 +335,28 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic fn @F(%T.loc13_7.2: %Z.type.be4) {
|
|
|
// CHECK:STDOUT: %T.loc13_7.1: %Z.type.be4 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.loc13_7.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %pattern_type: type = pattern_type %T.binding.as_type [symbolic = %pattern_type (constants.%pattern_type.bb9)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc13_19.1: type = facet_access_type %T.loc13_7.1 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc13_19.1 [symbolic = %pattern_type (constants.%pattern_type.177)]
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete: <witness> = require_complete_type %T.binding.as_type [symbolic = %require_complete (constants.%require_complete.f3b)]
|
|
|
-// CHECK:STDOUT: %.loc15_18.4: require_specific_def_type = require_specific_def @T.as.Z.impl.cf0(%T.binding.as_type) [symbolic = %.loc15_18.4 (constants.%.7b3)]
|
|
|
+// CHECK:STDOUT: %require_complete: <witness> = require_complete_type %T.as_type.loc13_19.1 [symbolic = %require_complete (constants.%require_complete.7c5)]
|
|
|
+// CHECK:STDOUT: %.loc15_18.4: require_specific_def_type = require_specific_def @T.as.Z.impl.cf0(%T.as_type.loc13_19.1) [symbolic = %.loc15_18.4 (constants.%.75b)]
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn(%t.param: @F.%T.binding.as_type (%T.binding.as_type)) {
|
|
|
+// CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc13_19.1 (%T.as_type)) {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
// CHECK:STDOUT: name_binding_decl {
|
|
|
-// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.bb9) = value_binding_pattern a [concrete]
|
|
|
+// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.177) = value_binding_pattern a [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t.ref: @F.%T.binding.as_type (%T.binding.as_type) = name_ref t, %t
|
|
|
-// CHECK:STDOUT: %.loc15_18.1: type = splice_block %impl.elem0 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)] {
|
|
|
+// CHECK:STDOUT: %t.ref: @F.%T.as_type.loc13_19.1 (%T.as_type) = name_ref t, %t
|
|
|
+// CHECK:STDOUT: %.loc15_18.1: type = splice_block %impl.elem0 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc15: %Z.type.be4 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %.loc15_18.2: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %.loc15_18.2: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
// CHECK:STDOUT: %.loc15_18.3: %Z.assoc_type.553 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.fe5) [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %X.ref: %Z.assoc_type.553 = name_ref X, %.loc15_18.3 [concrete = constants.%assoc0.1e0]
|
|
|
-// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.impl_witness.5a3, element0 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
+// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.impl_witness.4c9, element0 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %a: @F.%T.binding.as_type (%T.binding.as_type) = value_binding a, %t.ref
|
|
|
+// CHECK:STDOUT: %a: @F.%T.as_type.loc13_19.1 (%T.as_type) = value_binding a, %t.ref
|
|
|
// CHECK:STDOUT: return
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
@@ -395,7 +395,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc9_42.2 => constants.%Z.type.4d0
|
|
|
// CHECK:STDOUT: %.Self.4 => constants.%.Self.90f
|
|
|
// CHECK:STDOUT: %require_complete.loc9_50 => constants.%require_complete.72d
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type => constants.%.Self.binding.as_type.097
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc9_50.2 => constants.%.Self.as_type.faa
|
|
|
// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.5b2
|
|
|
// CHECK:STDOUT: %assoc0 => constants.%assoc0.8bc
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.7d6
|
|
|
@@ -448,8 +448,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @F(constants.%T.fe5) {
|
|
|
// CHECK:STDOUT: %T.loc13_7.1 => constants.%T.fe5
|
|
|
-// CHECK:STDOUT: %T.binding.as_type => constants.%T.binding.as_type
|
|
|
-// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bb9
|
|
|
+// CHECK:STDOUT: %T.as_type.loc13_19.1 => constants.%T.as_type
|
|
|
+// CHECK:STDOUT: %pattern_type => constants.%pattern_type.177
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.fe5) {
|
|
|
@@ -459,13 +459,13 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %assoc0 => constants.%assoc0.1e0
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @T.as.Z.impl.cf0(constants.%T.binding.as_type) {
|
|
|
-// CHECK:STDOUT: %T.loc11_21.2 => constants.%T.binding.as_type
|
|
|
-// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.325
|
|
|
-// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.5a3
|
|
|
+// CHECK:STDOUT: specific @T.as.Z.impl.cf0(constants.%T.as_type) {
|
|
|
+// CHECK:STDOUT: %T.loc11_21.2 => constants.%T.as_type
|
|
|
+// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.238
|
|
|
+// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.4c9
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete => constants.%require_complete.267
|
|
|
+// CHECK:STDOUT: %require_complete => constants.%require_complete.d03
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: --- fail_nonfinal_specialized_symbolic_rewrite.carbon
|
|
|
@@ -494,7 +494,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.assoc_type.5b2: type = assoc_entity_type @Z, @Z(%S) [symbolic]
|
|
|
// CHECK:STDOUT: %assoc0.8bc: %Z.assoc_type.5b2 = assoc_entity element0, @Z.WithSelf.%X [symbolic]
|
|
|
// CHECK:STDOUT: %require_complete.72d: <witness> = require_complete_type %Z.type.4d0 [symbolic]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type.097: type = symbolic_binding_type .Self, %.Self.90f [symbolic]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.faa: type = facet_access_type %.Self.90f [symbolic]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness.7d6: <witness> = lookup_impl_witness %.Self.90f, @Z, @Z(%S) [symbolic]
|
|
|
// CHECK:STDOUT: %impl.elem0.e5e: type = impl_witness_access %Z.lookup_impl_witness.7d6, element0 [symbolic]
|
|
|
// CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete]
|
|
|
@@ -507,7 +507,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Self.af9: %Z.type.be4 = symbolic_binding Self, 1 [symbolic]
|
|
|
// CHECK:STDOUT: %Z.assoc_type.553: type = assoc_entity_type @Z, @Z(%C) [concrete]
|
|
|
// CHECK:STDOUT: %assoc0.1e0: %Z.assoc_type.553 = assoc_entity element0, @Z.WithSelf.%X [concrete]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type.8c6: type = symbolic_binding_type .Self, %.Self.bf2 [symbolic_self]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.acb: type = facet_access_type %.Self.bf2 [symbolic_self]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness.c06: <witness> = lookup_impl_witness %.Self.bf2, @Z, @Z(%C) [symbolic_self]
|
|
|
// CHECK:STDOUT: %impl.elem0.2cd: type = impl_witness_access %Z.lookup_impl_witness.c06, element0 [symbolic_self]
|
|
|
// CHECK:STDOUT: %Z_where.type.c3e: type = facet_type <@Z, @Z(%C) where %impl.elem0.2cd = %T.67d> [symbolic]
|
|
|
@@ -516,11 +516,11 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.facet.738: %Z.type.be4 = facet_value %T.67d, (%Z.impl_witness.9b0) [symbolic]
|
|
|
// CHECK:STDOUT: %pattern_type.53f: type = pattern_type %Z.type.be4 [concrete]
|
|
|
// CHECK:STDOUT: %T.fe5: %Z.type.be4 = symbolic_binding T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.fe5 [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.bb9: type = pattern_type %T.binding.as_type [symbolic]
|
|
|
+// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.fe5 [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.177: type = pattern_type %T.as_type [symbolic]
|
|
|
// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
-// CHECK:STDOUT: %require_complete.f3b: <witness> = require_complete_type %T.binding.as_type [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.7c5: <witness> = require_complete_type %T.as_type [symbolic]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness.1cb: <witness> = lookup_impl_witness %T.fe5, @Z, @Z(%C) [symbolic]
|
|
|
// CHECK:STDOUT: %impl.elem0.a5e: type = impl_witness_access %Z.lookup_impl_witness.1cb, element0 [symbolic]
|
|
|
// CHECK:STDOUT: %require_complete.7cf: <witness> = require_complete_type %impl.elem0.a5e [symbolic]
|
|
|
@@ -582,8 +582,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc10_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc10_42.2 (constants.%Z.type.4d0)]
|
|
|
// CHECK:STDOUT: %.Self.1: @T.as.Z.impl.34a.%Z.type.loc10_42.2 (%Z.type.4d0) = symbolic_binding .Self [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.34a.%Z.type.loc10_42.2 (%Z.type.4d0) = name_ref .Self, %.Self.1 [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
-// CHECK:STDOUT: %.loc10_50.1: type = converted %.Self.ref, %.Self.as_type [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc10_50.1: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc10_50.2 (constants.%.Self.as_type.faa)]
|
|
|
+// CHECK:STDOUT: %.loc10_50.1: type = converted %.Self.ref, %.Self.as_type.loc10_50.1 [symbolic = %.Self.as_type.loc10_50.2 (constants.%.Self.as_type.faa)]
|
|
|
// CHECK:STDOUT: %.loc10_50.2: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.90f) [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %X.ref: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = name_ref X, %.loc10_50.2 [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %impl.elem0.loc10_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.7d6, element0 [symbolic = %impl.elem0.loc10_50.2 (constants.%impl.elem0.e5e)]
|
|
|
@@ -613,8 +613,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.be4]
|
|
|
// CHECK:STDOUT: %.Self.1: %Z.type.be4 = symbolic_binding .Self [symbolic_self = constants.%.Self.bf2]
|
|
|
// CHECK:STDOUT: %.Self.ref: %Z.type.be4 = name_ref .Self, %.Self.1 [symbolic_self = constants.%.Self.bf2]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.binding.as_type.8c6]
|
|
|
-// CHECK:STDOUT: %.loc12_40.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.binding.as_type.8c6]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.acb]
|
|
|
+// CHECK:STDOUT: %.loc12_40.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.acb]
|
|
|
// CHECK:STDOUT: %.loc12_40.2: %Z.assoc_type.553 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.bf2) [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %X.ref: %Z.assoc_type.553 = name_ref X, %.loc12_40.2 [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.c06, element0 [symbolic_self = constants.%impl.elem0.2cd]
|
|
|
@@ -631,8 +631,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt: %pattern_type.53f = symbolic_binding_pattern T, 0 [concrete]
|
|
|
-// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc14 (%pattern_type.bb9) = value_param_pattern [concrete]
|
|
|
-// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc14 (%pattern_type.bb9) = at_binding_pattern t, %t.param_patt [concrete]
|
|
|
+// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc14 (%pattern_type.177) = value_param_pattern [concrete]
|
|
|
+// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc14 (%pattern_type.177) = at_binding_pattern t, %t.param_patt [concrete]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc14_13: type = splice_block %Z.type [concrete = constants.%Z.type.be4] {
|
|
|
// CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39]
|
|
|
@@ -641,13 +641,13 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.be4]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc14_7.2: %Z.type.be4 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %t.param: @F.%T.binding.as_type (%T.binding.as_type) = value_param call_param0
|
|
|
-// CHECK:STDOUT: %.loc14_19.1: type = splice_block %.loc14_19.2 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)] {
|
|
|
+// CHECK:STDOUT: %t.param: @F.%T.as_type.loc14_19.1 (%T.as_type) = value_param call_param0
|
|
|
+// CHECK:STDOUT: %.loc14_19.1: type = splice_block %.loc14_19.2 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc14: %Z.type.be4 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc14: type = facet_access_type %T.ref.loc14 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %.loc14_19.2: type = converted %T.ref.loc14, %T.as_type.loc14 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc14_19.2: type = facet_access_type %T.ref.loc14 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %.loc14_19.2: type = converted %T.ref.loc14, %T.as_type.loc14_19.2 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t: @F.%T.binding.as_type (%T.binding.as_type) = value_binding t, %t.param
|
|
|
+// CHECK:STDOUT: %t: @F.%T.as_type.loc14_19.1 (%T.as_type) = value_binding t, %t.param
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
@@ -693,7 +693,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc10_42.2: type = facet_type <@Z, @Z(%S.loc10_25.2)> [symbolic = %Z.type.loc10_42.2 (constants.%Z.type.4d0)]
|
|
|
// CHECK:STDOUT: %.Self.4: @T.as.Z.impl.34a.%Z.type.loc10_42.2 (%Z.type.4d0) = symbolic_binding .Self [symbolic = %.Self.4 (constants.%.Self.90f)]
|
|
|
// CHECK:STDOUT: %require_complete.loc10_50: <witness> = require_complete_type %Z.type.loc10_42.2 [symbolic = %require_complete.loc10_50 (constants.%require_complete.72d)]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type: type = symbolic_binding_type .Self, %.Self.4 [symbolic = %.Self.binding.as_type (constants.%.Self.binding.as_type.097)]
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc10_50.2: type = facet_access_type %.Self.4 [symbolic = %.Self.as_type.loc10_50.2 (constants.%.Self.as_type.faa)]
|
|
|
// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc10_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.5b2)]
|
|
|
// CHECK:STDOUT: %assoc0: @T.as.Z.impl.34a.%Z.assoc_type (%Z.assoc_type.5b2) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.8bc)]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness: <witness> = lookup_impl_witness %.Self.4, @Z, @Z(%S.loc10_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.7d6)]
|
|
|
@@ -742,11 +742,11 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic fn @F(%T.loc14_7.2: %Z.type.be4) {
|
|
|
// CHECK:STDOUT: %T.loc14_7.1: %Z.type.be4 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.loc14_7.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %pattern_type.loc14: type = pattern_type %T.binding.as_type [symbolic = %pattern_type.loc14 (constants.%pattern_type.bb9)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc14_19.1: type = facet_access_type %T.loc14_7.1 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %pattern_type.loc14: type = pattern_type %T.as_type.loc14_19.1 [symbolic = %pattern_type.loc14 (constants.%pattern_type.177)]
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete.loc14: <witness> = require_complete_type %T.binding.as_type [symbolic = %require_complete.loc14 (constants.%require_complete.f3b)]
|
|
|
+// CHECK:STDOUT: %require_complete.loc14: <witness> = require_complete_type %T.as_type.loc14_19.1 [symbolic = %require_complete.loc14 (constants.%require_complete.7c5)]
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness: <witness> = lookup_impl_witness %T.loc14_7.1, @Z, @Z(constants.%C) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.1cb)]
|
|
|
// CHECK:STDOUT: %impl.elem0.loc22_18.2: type = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.a5e)]
|
|
|
// CHECK:STDOUT: %require_complete.loc22_18: <witness> = require_complete_type %impl.elem0.loc22_18.2 [symbolic = %require_complete.loc22_18 (constants.%require_complete.7cf)]
|
|
|
@@ -756,16 +756,16 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%impl.elem0.loc22_18.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.ac6)]
|
|
|
// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.ac6) = assoc_entity element0, imports.%Core.import_ref.201 [symbolic = %assoc0 (constants.%assoc0.ae8)]
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn(%t.param: @F.%T.binding.as_type (%T.binding.as_type)) {
|
|
|
+// CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc14_19.1 (%T.as_type)) {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
// CHECK:STDOUT: name_binding_decl {
|
|
|
// CHECK:STDOUT: %a.patt: @F.%pattern_type.loc22 (%pattern_type.7ae) = value_binding_pattern a [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t.ref: @F.%T.binding.as_type (%T.binding.as_type) = name_ref t, %t
|
|
|
+// CHECK:STDOUT: %t.ref: @F.%T.as_type.loc14_19.1 (%T.as_type) = name_ref t, %t
|
|
|
// CHECK:STDOUT: %.loc22_18.1: type = splice_block %impl.elem0.loc22_18.1 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.a5e)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc22: %Z.type.be4 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.fe5)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc22: type = facet_access_type %T.ref.loc22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
-// CHECK:STDOUT: %.loc22_18.2: type = converted %T.ref.loc22, %T.as_type.loc22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc22: type = facet_access_type %T.ref.loc22 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)]
|
|
|
+// CHECK:STDOUT: %.loc22_18.2: type = converted %T.ref.loc22, %T.as_type.loc22 [symbolic = %T.as_type.loc14_19.1 (constants.%T.as_type)]
|
|
|
// CHECK:STDOUT: %.loc22_18.3: %Z.assoc_type.553 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.fe5) [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %X.ref: %Z.assoc_type.553 = name_ref X, %.loc22_18.3 [concrete = constants.%assoc0.1e0]
|
|
|
// CHECK:STDOUT: %impl.elem0.loc22_18.1: type = impl_witness_access constants.%Z.lookup_impl_witness.1cb, element0 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.a5e)]
|
|
|
@@ -815,7 +815,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Z.type.loc10_42.2 => constants.%Z.type.4d0
|
|
|
// CHECK:STDOUT: %.Self.4 => constants.%.Self.90f
|
|
|
// CHECK:STDOUT: %require_complete.loc10_50 => constants.%require_complete.72d
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type => constants.%.Self.binding.as_type.097
|
|
|
+// CHECK:STDOUT: %.Self.as_type.loc10_50.2 => constants.%.Self.as_type.faa
|
|
|
// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.5b2
|
|
|
// CHECK:STDOUT: %assoc0 => constants.%assoc0.8bc
|
|
|
// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.7d6
|
|
|
@@ -868,8 +868,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @F(constants.%T.fe5) {
|
|
|
// CHECK:STDOUT: %T.loc14_7.1 => constants.%T.fe5
|
|
|
-// CHECK:STDOUT: %T.binding.as_type => constants.%T.binding.as_type
|
|
|
-// CHECK:STDOUT: %pattern_type.loc14 => constants.%pattern_type.bb9
|
|
|
+// CHECK:STDOUT: %T.as_type.loc14_19.1 => constants.%T.as_type
|
|
|
+// CHECK:STDOUT: %pattern_type.loc14 => constants.%pattern_type.177
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.fe5) {
|
|
|
@@ -891,7 +891,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete]
|
|
|
// CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %.Self.47a: %Ptr.type = symbolic_binding .Self [symbolic_self]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type: type = symbolic_binding_type .Self, %.Self.47a [symbolic_self]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.47a [symbolic_self]
|
|
|
// CHECK:STDOUT: %Ptr.lookup_impl_witness: <witness> = lookup_impl_witness %.Self.47a, @Ptr [symbolic_self]
|
|
|
// CHECK:STDOUT: %impl.elem0.4ac: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self]
|
|
|
// CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic]
|
|
|
@@ -947,8 +947,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: %.Self.1: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.47a]
|
|
|
// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.1 [symbolic_self = constants.%.Self.47a]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
-// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type]
|
|
|
+// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type]
|
|
|
// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6bc]
|
|
|
// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.4ac]
|
|
|
// CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)]
|
|
|
@@ -1116,7 +1116,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete]
|
|
|
// CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %.Self.47a: %Ptr.type = symbolic_binding .Self [symbolic_self]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type: type = symbolic_binding_type .Self, %.Self.47a [symbolic_self]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.47a [symbolic_self]
|
|
|
// CHECK:STDOUT: %Ptr.lookup_impl_witness: <witness> = lookup_impl_witness %.Self.47a, @Ptr [symbolic_self]
|
|
|
// CHECK:STDOUT: %impl.elem0.4ac: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self]
|
|
|
// CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic]
|
|
|
@@ -1126,27 +1126,27 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.117) [symbolic]
|
|
|
// CHECK:STDOUT: %pattern_type.6d2: type = pattern_type %Ptr.type [concrete]
|
|
|
// CHECK:STDOUT: %T.ffa: %Ptr.type = symbolic_binding T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type.3dc: type = symbolic_binding_type T, 0, %T.ffa [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.82a: type = pattern_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %ptr.a86: type = ptr_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %Ptr_where.type.540: type = facet_type <@Ptr where %impl.elem0.4ac = %ptr.a86> [symbolic]
|
|
|
-// CHECK:STDOUT: %Ptr.impl_witness.373: <witness> = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %require_complete.2f9: <witness> = require_complete_type %Ptr_where.type.540 [symbolic]
|
|
|
-// CHECK:STDOUT: %.0a6: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %.321: Core.Form = init_form %ptr.a86 [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.804: type = pattern_type %ptr.a86 [symbolic]
|
|
|
+// CHECK:STDOUT: %T.as_type.c3c: type = facet_access_type %T.ffa [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.c27: type = pattern_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %ptr.734: type = ptr_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %Ptr_where.type.85e: type = facet_type <@Ptr where %impl.elem0.4ac = %ptr.734> [symbolic]
|
|
|
+// CHECK:STDOUT: %Ptr.impl_witness.9f8: <witness> = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.1ff: <witness> = require_complete_type %Ptr_where.type.85e [symbolic]
|
|
|
+// CHECK:STDOUT: %.f62: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %.420: Core.Form = init_form %ptr.734 [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.1c0: type = pattern_type %ptr.734 [symbolic]
|
|
|
// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
-// CHECK:STDOUT: %require_complete.552: <witness> = require_complete_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %require_complete.c1c: <witness> = require_complete_type %ptr.a86 [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.e7f: <witness> = require_complete_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.06a: <witness> = require_complete_type %ptr.734 [symbolic]
|
|
|
// CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete]
|
|
|
-// CHECK:STDOUT: %Copy.lookup_impl_witness.3c7: <witness> = lookup_impl_witness %ptr.a86, @Copy [symbolic]
|
|
|
-// CHECK:STDOUT: %.54b: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.a86, (%Copy.lookup_impl_witness.3c7) [symbolic]
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.type.207: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic]
|
|
|
-// CHECK:STDOUT: %.382: type = fn_type_with_self_type %Copy.WithSelf.Op.type.207, %Copy.facet [symbolic]
|
|
|
-// CHECK:STDOUT: %impl.elem0.c19: %.382 = impl_witness_access %Copy.lookup_impl_witness.3c7, element0 [symbolic]
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.25f: <specific function> = specific_impl_function %impl.elem0.c19, @Copy.WithSelf.Op(%Copy.facet) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.lookup_impl_witness.48d: <witness> = lookup_impl_witness %ptr.734, @Copy [symbolic]
|
|
|
+// CHECK:STDOUT: %.592: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.734, (%Copy.lookup_impl_witness.48d) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.type.bc6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic]
|
|
|
+// CHECK:STDOUT: %.307: type = fn_type_with_self_type %Copy.WithSelf.Op.type.bc6, %Copy.facet [symbolic]
|
|
|
+// CHECK:STDOUT: %impl.elem0.c24: %.307 = impl_witness_access %Copy.lookup_impl_witness.48d, element0 [symbolic]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.79e: <specific function> = specific_impl_function %impl.elem0.c24, @Copy.WithSelf.Op(%Copy.facet) [symbolic]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
@@ -1173,8 +1173,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: %.Self.1: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.47a]
|
|
|
// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.1 [symbolic_self = constants.%.Self.47a]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
-// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type]
|
|
|
+// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type]
|
|
|
// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6bc]
|
|
|
// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.4ac]
|
|
|
// CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)]
|
|
|
@@ -1191,31 +1191,31 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt: %pattern_type.6d2 = symbolic_binding_pattern T, 0 [concrete]
|
|
|
-// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.82a) = ref_binding_pattern t [concrete]
|
|
|
-// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.82a) = var_param_pattern %t.patt [concrete]
|
|
|
-// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.804) = out_param_pattern [concrete]
|
|
|
-// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.804) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete]
|
|
|
+// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.c27) = ref_binding_pattern t [concrete]
|
|
|
+// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.c27) = var_param_pattern %t.patt [concrete]
|
|
|
+// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.1c0) = out_param_pattern [concrete]
|
|
|
+// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.1c0) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.ref.loc9_28: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc9_29: type = facet_access_type %T.ref.loc9_28 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.3: type = converted %T.ref.loc9_28, %T.as_type.loc9_29 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_29: type = facet_access_type %T.ref.loc9_28 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.3: type = converted %T.ref.loc9_28, %T.as_type.loc9_29 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6bc]
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.373, element0 [symbolic = %ptr (constants.%ptr.a86)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.4: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.321)]
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.9f8, element0 [symbolic = %ptr (constants.%ptr.734)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.4: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.420)]
|
|
|
// CHECK:STDOUT: %.loc9_10: type = splice_block %Ptr.ref [concrete = constants.%Ptr.type] {
|
|
|
// CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39]
|
|
|
// CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc9_7.2: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %t.param: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = ref_param call_param0
|
|
|
-// CHECK:STDOUT: %.loc9_22.1: type = splice_block %.loc9_22.2 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)] {
|
|
|
+// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = ref_param call_param0
|
|
|
+// CHECK:STDOUT: %.loc9_22.1: type = splice_block %.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %T.as_type.loc9_22: type = facet_access_type %T.ref.loc9_22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
-// CHECK:STDOUT: %.loc9_22.2: type = converted %T.ref.loc9_22, %T.as_type.loc9_22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.2: type = facet_access_type %T.ref.loc9_22 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
+// CHECK:STDOUT: %.loc9_22.2: type = converted %T.ref.loc9_22, %T.as_type.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = ref_binding t, %t.param
|
|
|
-// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.a86) = out_param call_param1
|
|
|
-// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.a86) = return_slot %return.param
|
|
|
+// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = ref_binding t, %t.param
|
|
|
+// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.734) = out_param call_param1
|
|
|
+// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.734) = return_slot %return.param
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
@@ -1257,33 +1257,33 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic fn @F(%T.loc9_7.2: %Ptr.type) {
|
|
|
// CHECK:STDOUT: %T.loc9_7.1: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.loc9_7.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.binding.as_type [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.82a)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.binding.as_type) [symbolic = %.loc9_29.1 (constants.%.0a6)]
|
|
|
-// CHECK:STDOUT: %ptr: type = ptr_type %T.binding.as_type [symbolic = %ptr (constants.%ptr.a86)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.321)]
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.804)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.1: type = facet_access_type %T.loc9_7.1 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.c27)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.loc9_22.1) [symbolic = %.loc9_29.1 (constants.%.f62)]
|
|
|
+// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.734)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.420)]
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.1c0)]
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete.loc9_15: <witness> = require_complete_type %T.binding.as_type [symbolic = %require_complete.loc9_15 (constants.%require_complete.552)]
|
|
|
-// CHECK:STDOUT: %require_complete.loc9_29: <witness> = require_complete_type %ptr [symbolic = %require_complete.loc9_29 (constants.%require_complete.c1c)]
|
|
|
-// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.binding.as_type) [symbolic = %.loc10_10.1 (constants.%.54b)]
|
|
|
-// CHECK:STDOUT: %Copy.lookup_impl_witness: <witness> = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.3c7)]
|
|
|
+// CHECK:STDOUT: %require_complete.loc9_15: <witness> = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.e7f)]
|
|
|
+// CHECK:STDOUT: %require_complete.loc9_29: <witness> = require_complete_type %ptr [symbolic = %require_complete.loc9_29 (constants.%require_complete.06a)]
|
|
|
+// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc9_22.1) [symbolic = %.loc10_10.1 (constants.%.592)]
|
|
|
+// CHECK:STDOUT: %Copy.lookup_impl_witness: <witness> = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.48d)]
|
|
|
// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet)]
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.207)]
|
|
|
-// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.382)]
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.382) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c19)]
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: <specific function> = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.25f)]
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.bc6)]
|
|
|
+// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.307)]
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.307) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c24)]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: <specific function> = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.79e)]
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn(%t.param: ref @F.%T.binding.as_type (%T.binding.as_type.3dc)) -> out %return.param: @F.%ptr (%ptr.a86) {
|
|
|
+// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c)) -> out %return.param: @F.%ptr (%ptr.734) {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
-// CHECK:STDOUT: %t.ref: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = name_ref t, %t
|
|
|
-// CHECK:STDOUT: %addr: @F.%ptr (%ptr.a86) = addr_of %t.ref
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.382) = impl_witness_access constants.%Copy.lookup_impl_witness.3c7, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c19)]
|
|
|
+// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = name_ref t, %t
|
|
|
+// CHECK:STDOUT: %addr: @F.%ptr (%ptr.734) = addr_of %t.ref
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.307) = impl_witness_access constants.%Copy.lookup_impl_witness.48d, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c24)]
|
|
|
// CHECK:STDOUT: %bound_method.loc10_10.1: <bound method> = bound_method %addr, %impl.elem0.loc10_10.1
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: <specific function> = specific_impl_function %impl.elem0.loc10_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.25f)]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: <specific function> = specific_impl_function %impl.elem0.loc10_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.79e)]
|
|
|
// CHECK:STDOUT: %bound_method.loc10_10.2: <bound method> = bound_method %addr, %specific_impl_fn.loc10_10.1
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.a86) = call %bound_method.loc10_10.2(%addr)
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.734) = call %bound_method.loc10_10.2(%addr)
|
|
|
// CHECK:STDOUT: return %Copy.WithSelf.Op.call
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
@@ -1311,24 +1311,24 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.binding.as_type.3dc) {
|
|
|
-// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.binding.as_type.3dc
|
|
|
-// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.a86
|
|
|
-// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.540
|
|
|
-// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.373
|
|
|
+// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.c3c) {
|
|
|
+// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.c3c
|
|
|
+// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.734
|
|
|
+// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.85e
|
|
|
+// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.9f8
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete => constants.%require_complete.2f9
|
|
|
+// CHECK:STDOUT: %require_complete => constants.%require_complete.1ff
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @F(constants.%T.ffa) {
|
|
|
// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.ffa
|
|
|
-// CHECK:STDOUT: %T.binding.as_type => constants.%T.binding.as_type.3dc
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.82a
|
|
|
-// CHECK:STDOUT: %.loc9_29.1 => constants.%.0a6
|
|
|
-// CHECK:STDOUT: %ptr => constants.%ptr.a86
|
|
|
-// CHECK:STDOUT: %.loc9_29.2 => constants.%.321
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.804
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.c3c
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.c27
|
|
|
+// CHECK:STDOUT: %.loc9_29.1 => constants.%.f62
|
|
|
+// CHECK:STDOUT: %ptr => constants.%ptr.734
|
|
|
+// CHECK:STDOUT: %.loc9_29.2 => constants.%.420
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.1c0
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: --- final_impl_rewrite_of_symbolic_through_facet_value.carbon
|
|
|
@@ -1343,7 +1343,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete]
|
|
|
// CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %.Self.47a: %Ptr.type = symbolic_binding .Self [symbolic_self]
|
|
|
-// CHECK:STDOUT: %.Self.binding.as_type: type = symbolic_binding_type .Self, %.Self.47a [symbolic_self]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.47a [symbolic_self]
|
|
|
// CHECK:STDOUT: %Ptr.lookup_impl_witness: <witness> = lookup_impl_witness %.Self.47a, @Ptr [symbolic_self]
|
|
|
// CHECK:STDOUT: %impl.elem0.4ac: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self]
|
|
|
// CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic]
|
|
|
@@ -1353,27 +1353,27 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.117) [symbolic]
|
|
|
// CHECK:STDOUT: %pattern_type.6d2: type = pattern_type %Ptr.type [concrete]
|
|
|
// CHECK:STDOUT: %T.ffa: %Ptr.type = symbolic_binding T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type.3dc: type = symbolic_binding_type T, 0, %T.ffa [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.82a: type = pattern_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %ptr.a86: type = ptr_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %Ptr_where.type.540: type = facet_type <@Ptr where %impl.elem0.4ac = %ptr.a86> [symbolic]
|
|
|
-// CHECK:STDOUT: %Ptr.impl_witness.373: <witness> = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %require_complete.2f9: <witness> = require_complete_type %Ptr_where.type.540 [symbolic]
|
|
|
-// CHECK:STDOUT: %.0a6: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %.321: Core.Form = init_form %ptr.a86 [symbolic]
|
|
|
-// CHECK:STDOUT: %pattern_type.804: type = pattern_type %ptr.a86 [symbolic]
|
|
|
+// CHECK:STDOUT: %T.as_type.c3c: type = facet_access_type %T.ffa [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.c27: type = pattern_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %ptr.734: type = ptr_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %Ptr_where.type.85e: type = facet_type <@Ptr where %impl.elem0.4ac = %ptr.734> [symbolic]
|
|
|
+// CHECK:STDOUT: %Ptr.impl_witness.9f8: <witness> = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.1ff: <witness> = require_complete_type %Ptr_where.type.85e [symbolic]
|
|
|
+// CHECK:STDOUT: %.f62: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %.420: Core.Form = init_form %ptr.734 [symbolic]
|
|
|
+// CHECK:STDOUT: %pattern_type.1c0: type = pattern_type %ptr.734 [symbolic]
|
|
|
// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
-// CHECK:STDOUT: %require_complete.552: <witness> = require_complete_type %T.binding.as_type.3dc [symbolic]
|
|
|
-// CHECK:STDOUT: %require_complete.c1c: <witness> = require_complete_type %ptr.a86 [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.e7f: <witness> = require_complete_type %T.as_type.c3c [symbolic]
|
|
|
+// CHECK:STDOUT: %require_complete.06a: <witness> = require_complete_type %ptr.734 [symbolic]
|
|
|
// CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete]
|
|
|
-// CHECK:STDOUT: %Copy.lookup_impl_witness.3c7: <witness> = lookup_impl_witness %ptr.a86, @Copy [symbolic]
|
|
|
-// CHECK:STDOUT: %.54b: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.binding.as_type.3dc) [symbolic]
|
|
|
-// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.a86, (%Copy.lookup_impl_witness.3c7) [symbolic]
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.type.207: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic]
|
|
|
-// CHECK:STDOUT: %.382: type = fn_type_with_self_type %Copy.WithSelf.Op.type.207, %Copy.facet [symbolic]
|
|
|
-// CHECK:STDOUT: %impl.elem0.c19: %.382 = impl_witness_access %Copy.lookup_impl_witness.3c7, element0 [symbolic]
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.25f: <specific function> = specific_impl_function %impl.elem0.c19, @Copy.WithSelf.Op(%Copy.facet) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.lookup_impl_witness.48d: <witness> = lookup_impl_witness %ptr.734, @Copy [symbolic]
|
|
|
+// CHECK:STDOUT: %.592: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.c3c) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.734, (%Copy.lookup_impl_witness.48d) [symbolic]
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.type.bc6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic]
|
|
|
+// CHECK:STDOUT: %.307: type = fn_type_with_self_type %Copy.WithSelf.Op.type.bc6, %Copy.facet [symbolic]
|
|
|
+// CHECK:STDOUT: %impl.elem0.c24: %.307 = impl_witness_access %Copy.lookup_impl_witness.48d, element0 [symbolic]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.79e: <specific function> = specific_impl_function %impl.elem0.c24, @Copy.WithSelf.Op(%Copy.facet) [symbolic]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
@@ -1400,8 +1400,8 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: %.Self.1: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.47a]
|
|
|
// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.1 [symbolic_self = constants.%.Self.47a]
|
|
|
-// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
-// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.binding.as_type]
|
|
|
+// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type]
|
|
|
+// CHECK:STDOUT: %.loc7_45: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type]
|
|
|
// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6bc]
|
|
|
// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.4ac]
|
|
|
// CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)]
|
|
|
@@ -1418,30 +1418,30 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt: %pattern_type.6d2 = symbolic_binding_pattern T, 0 [concrete]
|
|
|
-// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.82a) = ref_binding_pattern t [concrete]
|
|
|
-// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.82a) = var_param_pattern %t.patt [concrete]
|
|
|
-// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.804) = out_param_pattern [concrete]
|
|
|
-// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.804) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete]
|
|
|
+// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.c27) = ref_binding_pattern t [concrete]
|
|
|
+// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.c27) = var_param_pattern %t.patt [concrete]
|
|
|
+// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.1c0) = out_param_pattern [concrete]
|
|
|
+// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.1c0) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.ref.loc9_28: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
// CHECK:STDOUT: %Ptr.ref.loc9_31: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6bc]
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.373, element0 [symbolic = %ptr (constants.%ptr.a86)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.3: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.321)]
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.9f8, element0 [symbolic = %ptr (constants.%ptr.734)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.3: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.420)]
|
|
|
// CHECK:STDOUT: %.loc9_10: type = splice_block %Ptr.ref.loc9_10 [concrete = constants.%Ptr.type] {
|
|
|
// CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39]
|
|
|
// CHECK:STDOUT: %Ptr.ref.loc9_10: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc9_7.2: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %t.param: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = ref_param call_param0
|
|
|
-// CHECK:STDOUT: %.loc9_22.1: type = splice_block %.loc9_22.2 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)] {
|
|
|
+// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = ref_param call_param0
|
|
|
+// CHECK:STDOUT: %.loc9_22.1: type = splice_block %.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.ref.loc9_22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
-// CHECK:STDOUT: %.loc9_22.2: type = converted %T.ref.loc9_22, %T.as_type [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.2: type = facet_access_type %T.ref.loc9_22 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
+// CHECK:STDOUT: %.loc9_22.2: type = converted %T.ref.loc9_22, %T.as_type.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %t: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = ref_binding t, %t.param
|
|
|
-// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.a86) = out_param call_param1
|
|
|
-// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.a86) = return_slot %return.param
|
|
|
+// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = ref_binding t, %t.param
|
|
|
+// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.734) = out_param call_param1
|
|
|
+// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.734) = return_slot %return.param
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
@@ -1483,33 +1483,33 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic fn @F(%T.loc9_7.2: %Ptr.type) {
|
|
|
// CHECK:STDOUT: %T.loc9_7.1: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.ffa)]
|
|
|
-// CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.loc9_7.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type.3dc)]
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.binding.as_type [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.82a)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.binding.as_type) [symbolic = %.loc9_29.1 (constants.%.0a6)]
|
|
|
-// CHECK:STDOUT: %ptr: type = ptr_type %T.binding.as_type [symbolic = %ptr (constants.%ptr.a86)]
|
|
|
-// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.321)]
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.804)]
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.1: type = facet_access_type %T.loc9_7.1 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type.c3c)]
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.c27)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.loc9_22.1) [symbolic = %.loc9_29.1 (constants.%.f62)]
|
|
|
+// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.734)]
|
|
|
+// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.420)]
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.1c0)]
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete.loc9_15: <witness> = require_complete_type %T.binding.as_type [symbolic = %require_complete.loc9_15 (constants.%require_complete.552)]
|
|
|
-// CHECK:STDOUT: %require_complete.loc9_29: <witness> = require_complete_type %ptr [symbolic = %require_complete.loc9_29 (constants.%require_complete.c1c)]
|
|
|
-// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.binding.as_type) [symbolic = %.loc10_10.1 (constants.%.54b)]
|
|
|
-// CHECK:STDOUT: %Copy.lookup_impl_witness: <witness> = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.3c7)]
|
|
|
+// CHECK:STDOUT: %require_complete.loc9_15: <witness> = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.e7f)]
|
|
|
+// CHECK:STDOUT: %require_complete.loc9_29: <witness> = require_complete_type %ptr [symbolic = %require_complete.loc9_29 (constants.%require_complete.06a)]
|
|
|
+// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc9_22.1) [symbolic = %.loc10_10.1 (constants.%.592)]
|
|
|
+// CHECK:STDOUT: %Copy.lookup_impl_witness: <witness> = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.48d)]
|
|
|
// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet)]
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.207)]
|
|
|
-// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.382)]
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.382) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c19)]
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: <specific function> = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.25f)]
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.bc6)]
|
|
|
+// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.307)]
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.307) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c24)]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: <specific function> = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.79e)]
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: fn(%t.param: ref @F.%T.binding.as_type (%T.binding.as_type.3dc)) -> out %return.param: @F.%ptr (%ptr.a86) {
|
|
|
+// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c)) -> out %return.param: @F.%ptr (%ptr.734) {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
-// CHECK:STDOUT: %t.ref: ref @F.%T.binding.as_type (%T.binding.as_type.3dc) = name_ref t, %t
|
|
|
-// CHECK:STDOUT: %addr: @F.%ptr (%ptr.a86) = addr_of %t.ref
|
|
|
-// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.382) = impl_witness_access constants.%Copy.lookup_impl_witness.3c7, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c19)]
|
|
|
+// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.c3c) = name_ref t, %t
|
|
|
+// CHECK:STDOUT: %addr: @F.%ptr (%ptr.734) = addr_of %t.ref
|
|
|
+// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.307) = impl_witness_access constants.%Copy.lookup_impl_witness.48d, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.c24)]
|
|
|
// CHECK:STDOUT: %bound_method.loc10_10.1: <bound method> = bound_method %addr, %impl.elem0.loc10_10.1
|
|
|
-// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: <specific function> = specific_impl_function %impl.elem0.loc10_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.25f)]
|
|
|
+// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: <specific function> = specific_impl_function %impl.elem0.loc10_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.79e)]
|
|
|
// CHECK:STDOUT: %bound_method.loc10_10.2: <bound method> = bound_method %addr, %specific_impl_fn.loc10_10.1
|
|
|
-// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.a86) = call %bound_method.loc10_10.2(%addr)
|
|
|
+// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.734) = call %bound_method.loc10_10.2(%addr)
|
|
|
// CHECK:STDOUT: return %Copy.WithSelf.Op.call
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
@@ -1533,14 +1533,14 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.binding.as_type.3dc) {
|
|
|
-// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.binding.as_type.3dc
|
|
|
-// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.a86
|
|
|
-// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.540
|
|
|
-// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.373
|
|
|
+// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.c3c) {
|
|
|
+// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.c3c
|
|
|
+// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.734
|
|
|
+// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.85e
|
|
|
+// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.9f8
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
-// CHECK:STDOUT: %require_complete => constants.%require_complete.2f9
|
|
|
+// CHECK:STDOUT: %require_complete => constants.%require_complete.1ff
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%T.ffa) {
|
|
|
@@ -1549,11 +1549,11 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: specific @F(constants.%T.ffa) {
|
|
|
// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.ffa
|
|
|
-// CHECK:STDOUT: %T.binding.as_type => constants.%T.binding.as_type.3dc
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.82a
|
|
|
-// CHECK:STDOUT: %.loc9_29.1 => constants.%.0a6
|
|
|
-// CHECK:STDOUT: %ptr => constants.%ptr.a86
|
|
|
-// CHECK:STDOUT: %.loc9_29.2 => constants.%.321
|
|
|
-// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.804
|
|
|
+// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.c3c
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.c27
|
|
|
+// CHECK:STDOUT: %.loc9_29.1 => constants.%.f62
|
|
|
+// CHECK:STDOUT: %ptr => constants.%ptr.734
|
|
|
+// CHECK:STDOUT: %.loc9_29.2 => constants.%.420
|
|
|
+// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.1c0
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|